compiler.properties
来自「是一款用JAVA 编写的编译器 具有很强的编译功能」· PROPERTIES 代码 · 共 1,143 行 · 第 1/3 页
PROPERTIES
1,143 行
## Copyright 1999-2006 Sun Microsystems, Inc. All Rights Reserved.# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.## This code is free software; you can redistribute it and/or modify it# under the terms of the GNU General Public License version 2 only, as# published by the Free Software Foundation. Sun designates this# particular file as subject to the "Classpath" exception as provided# by Sun in the LICENSE file that accompanied this code.## This code is distributed in the hope that it will be useful, but WITHOUT# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License# version 2 for more details (a copy is included in the LICENSE file that# accompanied this code).## You should have received a copy of the GNU General Public License version# 2 along with this work; if not, write to the Free Software Foundation,# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.## Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,# CA 95054 USA or visit www.sun.com if you need additional information or# have any questions.##### errors##compiler.err.abstract.cant.be.instantiated=\ {0} is abstract; cannot be instantiatedcompiler.err.abstract.meth.cant.have.body=\ abstract methods cannot have a bodycompiler.err.already.annotated=\ {0} {1} has already been annotatedcompiler.err.already.defined=\ {0} is already defined in {1}compiler.err.already.defined.single.import=\ {0} is already defined in a single-type importcompiler.err.already.defined.static.single.import=\ {0} is already defined in a static single-type importcompiler.err.already.defined.this.unit=\ {0} is already defined in this compilation unitcompiler.err.annotation.missing.default.value=\ annotation {0} is missing {1}compiler.err.annotation.not.valid.for.type=\ annotation not valid for a value of type {0}compiler.err.annotation.type.not.applicable=\ annotation type not applicable to this kind of declarationcompiler.err.annotation.value.must.be.annotation=\ annotation value must be an annotationcompiler.err.annotation.value.must.be.class.literal=\ annotation value must be a class literalcompiler.err.annotation.value.must.be.name.value=\ annotation values must be of the form ''name=value''compiler.err.annotation.value.not.allowable.type=\ annotation value not of an allowable typecompiler.err.anon.class.impl.intf.no.args=\ anonymous class implements interface; cannot have argumentscompiler.err.anon.class.impl.intf.no.typeargs=\ anonymous class implements interface; cannot have type argumentscompiler.err.anon.class.impl.intf.no.qual.for.new=\ anonymous class implements interface; cannot have qualifier for newcompiler.err.array.and.varargs=\ cannot declare both {0} and {1} in {2}compiler.err.array.dimension.missing=\ array dimension missingcompiler.err.array.req.but.found=\ array required, but {0} foundcompiler.err.assignment.from.super-bound=\ assigning from wildcard {0}compiler.err.assignment.to.extends-bound=\ assigning to wildcard {0}compiler.err.attribute.value.must.be.constant=\ attribute value must be constantcompiler.err.break.outside.switch.loop=\ break outside switch or loopcompiler.err.call.must.be.first.stmt.in.ctor=\ call to {0} must be first statement in constructorcompiler.err.cant.apply.symbol=\ {0} in {1} cannot be applied to {2}({3})compiler.err.cant.apply.symbol.1=\ {0} in {1} cannot be applied to {2}({3}); {4}compiler.err.cant.assign.val.to.final.var=\ cannot assign a value to final variable {0}compiler.err.cant.deref=\ {0} cannot be dereferencedcompiler.err.cant.extend.intf.annotation=\ ''extends'' not allowed for @interfacescompiler.err.cant.inherit.from.final=\ cannot inherit from final {0}compiler.err.cant.ref.before.ctor.called=\ cannot reference {0} before supertype constructor has been calledcompiler.err.cant.ret.val.from.meth.decl.void=\ cannot return a value from method whose result type is voidcompiler.err.cant.select.static.class.from.param.type=\ cannot select a static class from a parameterized typecompiler.err.cant.inherit.diff.arg=\ {0} cannot be inherited with different arguments: <{1}> and <{2}>compiler.err.catch.without.try=\ ''catch'' without ''try''compiler.err.clash.with.pkg.of.same.name=\ {0} clashes with package of same namecompiler.err.const.expr.req=\ constant expression requiredcompiler.err.enum.const.req=\ unqualified enumeration constant name requiredcompiler.err.cont.outside.loop=\ continue outside of loopcompiler.err.cyclic.inheritance=\ cyclic inheritance involving {0}compiler.err.cyclic.annotation.element=\ cyclic annotation element typecompiler.err.call.to.super.not.allowed.in.enum.ctor=\ call to super not allowed in enum constructorcompiler.err.no.superclass=\ {0} has no superclasscompiler.err.concrete.inheritance.conflict=\ methods {0} from {1} and {2} from {3} are inherited with the same signaturecompiler.err.default.allowed.in.intf.annotation.member=\ default value only allowed in an @interface membercompiler.err.doesnt.exist=\ package {0} does not existcompiler.err.duplicate.annotation=\ duplicate annotationcompiler.err.duplicate.annotation.member.value=\ duplicate annotation member value {0} in {1}compiler.err.duplicate.class=\ duplicate class: {0}compiler.err.duplicate.case.label=\ duplicate case labelcompiler.err.duplicate.default.label=\ duplicate default labelcompiler.err.else.without.if=\ ''else'' without ''if''compiler.err.empty.char.lit=\ empty character literalcompiler.err.encl.class.required=\ an enclosing instance that contains {0} is requiredcompiler.err.enum.annotation.must.be.enum.constant=\ an enum annotation value must be an enum constantcompiler.err.enum.cant.be.instantiated=\ enum types may not be instantiatedcompiler.err.enum.label.must.be.unqualified.enum=\ an enum switch case label must be the unqualified name of an enumeration constantcompiler.err.enum.no.subclassing=\ classes cannot directly extend java.lang.Enumcompiler.err.enum.types.not.extensible=\ enum types are not extensiblecompiler.err.enum.no.finalize=\ enums cannot have finalize methodscompiler.err.error.reading.file=\ error reading {0}; {1}compiler.err.except.already.caught=\ exception {0} has already been caughtcompiler.err.except.never.thrown.in.try=\ exception {0} is never thrown in body of corresponding try statementcompiler.err.final.parameter.may.not.be.assigned=\ final parameter {0} may not be assignedcompiler.err.finally.without.try=\ ''finally'' without ''try''compiler.err.foreach.not.applicable.to.type=\ foreach not applicable to expression typecompiler.err.fp.number.too.large=\ floating point number too largecompiler.err.fp.number.too.small=\ floating point number too smallcompiler.err.generic.array.creation=\ generic array creationcompiler.err.generic.throwable=\ a generic class may not extend java.lang.Throwablecompiler.err.icls.cant.have.static.decl=\ inner classes cannot have static declarationscompiler.err.illegal.char=\ illegal character: \\{0}compiler.err.illegal.char.for.encoding=\ unmappable character for encoding {0}compiler.err.illegal.combination.of.modifiers=\ illegal combination of modifiers: {0} and {1}compiler.err.illegal.enum.static.ref=\ illegal reference to static field from initializercompiler.err.illegal.esc.char=\ illegal escape charactercompiler.err.illegal.forward.ref=\ illegal forward referencecompiler.warn.forward.ref=\ reference to variable ''{0}'' before it has been initializedcompiler.err.illegal.generic.type.for.instof=\ illegal generic type for instanceofcompiler.err.illegal.initializer.for.type=\ illegal initializer for {0}compiler.err.illegal.line.end.in.char.lit=\ illegal line end in character literalcompiler.err.illegal.nonascii.digit=\ illegal non-ASCII digitcompiler.err.illegal.qual.not.icls=\ illegal qualifier; {0} is not an inner classcompiler.err.illegal.start.of.expr=\ illegal start of expressioncompiler.err.illegal.start.of.type=\ illegal start of typecompiler.err.illegal.unicode.esc=\ illegal unicode escapecompiler.err.import.requires.canonical=\ import requires canonical name for {0}compiler.err.improperly.formed.type.param.missing=\ improperly formed type, some parameters are missingcompiler.err.improperly.formed.type.inner.raw.param=\ improperly formed type, type parameters given on a raw typecompiler.err.incomparable.types=\ incomparable types: {0} and {1}compiler.err.int.number.too.large=\ integer number too large: {0}compiler.err.internal.error.cant.instantiate=\ internal error; cannot instantiate {0} at {1} to ({2})compiler.err.intf.annotation.members.cant.have.params=\ @interface members may not have parameterscompiler.err.intf.annotation.cant.have.type.params=\ @interface may not have type parameterscompiler.err.intf.annotation.members.cant.have.type.params=\ @interface members may not have type parameterscompiler.err.intf.annotation.member.clash=\ @interface member clashes with method ''{0}'' in {1}compiler.err.intf.expected.here=\ interface expected herecompiler.err.intf.meth.cant.have.body=\ interface methods cannot have bodycompiler.err.invalid.annotation.member.type=\ invalid type for annotation membercompiler.err.invalid.hex.number=\ hexadecimal numbers must contain at least one hexadecimal digitcompiler.err.invalid.meth.decl.ret.type.req=\ invalid method declaration; return type requiredcompiler.err.label.already.in.use=\ label {0} already in usecompiler.err.local.var.accessed.from.icls.needs.final=\ local variable {0} is accessed from within inner class; needs to be declared finalcompiler.err.local.enum=\ enum types must not be localcompiler.err.cannot.create.array.with.type.arguments=\ cannot create array with type arguments## limits. We don't give the limits in the diagnostic because we expect# them to change, yet we want to use the same diagnostic. These are all# detected during code generation.#compiler.err.limit.code=\ code too largecompiler.err.limit.code.too.large.for.try.stmt=\ code too large for try statementcompiler.err.limit.dimensions=\ array type has too many dimensionscompiler.err.limit.locals=\ too many local variablescompiler.err.limit.parameters=\ too many parameterscompiler.err.limit.pool=\ too many constantscompiler.err.limit.pool.in.class=\ too many constants in class {0}compiler.err.limit.stack=\ code requires too much stackcompiler.err.limit.string=\ constant string too longcompiler.err.limit.string.overflow=\ UTF8 representation for string \"{0}...\" is too long for the constant poolcompiler.err.malformed.fp.lit=\ malformed floating point literalcompiler.err.method.does.not.override.superclass=\ method does not override or implement a method from a supertypecompiler.err.missing.meth.body.or.decl.abstract=\ missing method body, or declare abstractcompiler.err.missing.ret.stmt=\ missing return statementcompiler.err.missing.ret.val=\ missing return valuecompiler.err.mod.not.allowed.here=\ modifier {0} not allowed herecompiler.err.intf.not.allowed.here=\ interface not allowed herecompiler.err.enums.must.be.static=\ enum declarations allowed only in static contextscompiler.err.name.clash.same.erasure=\ name clash: {0} and {1} have the same erasurecompiler.err.name.clash.same.erasure.no.override=\ name clash: {0} in {1} and {2} in {3} have the same erasure, yet neither overrides the othercompiler.err.name.reserved.for.internal.use=\ {0} is reserved for internal usecompiler.err.native.meth.cant.have.body=\ native methods cannot have a bodycompiler.err.neither.conditional.subtype=\incompatible types for ?: neither is a subtype of the other\n\second operand: {0}\n\third operand : {1}compiler.err.new.not.allowed.in.annotation=\ ''new'' not allowed in an annotationcompiler.err.no.annotation.member=\ no annotation member {0} in {1}compiler.err.no.encl.instance.of.type.in.scope=\ no enclosing instance of type {0} is in scopecompiler.err.no.intf.expected.here=\ no interface expected herecompiler.err.no.match.entry=\ {0} has no match in entry in {1}; required {2}compiler.err.not.annotation.type=\ {0} is not an annotation typecompiler.err.not.def.access.class.intf.cant.access=\ {0} in {1} is defined in an inaccessible class or interfacecompiler.err.not.def.public.cant.access=\ {0} is not public in {1}; cannot be accessed from outside packagecompiler.err.not.loop.label=\ not a loop label: {0}compiler.err.not.stmt=\ not a statementcompiler.err.not.encl.class=\ not an enclosing class: {0}compiler.err.operator.cant.be.applied=\ operator {0} cannot be applied to {1}compiler.err.pkg.annotations.sb.in.package-info.java=\ package annotations should be in file package-info.javacompiler.err.pkg.clashes.with.class.of.same.name=\ package {0} clashes with class of same name# Errors related to annotation processingcompiler.err.proc.cant.access=\cannot access {0}\n\{1}\n\Consult the following stack trace for details.\n\{2}compiler.err.proc.cant.find.class=\ Could not find class file for ''{0}''.# Print a client-generated error message; assumed to be localized, no translation requiredcompiler.err.proc.messager=\ {0}compiler.err.proc.no.explicit.annotation.processing.requested=\ Class names, ''{0}'', are only accepted if annotation processing is explicitly requestedcompiler.err.proc.no.service=\ A service loader class could not be found.\n\ Either java.util.ServiceLoader or sun.misc.Service must be available.compiler.err.proc.processor.bad.option.name=\ Bad option name ''{0}'' provided by processor ''{1}''compiler.err.proc.processor.cant.instantiate=\ Could not instantiate an instance of processor ''{0}''compiler.err.proc.processor.constructor.error=\ Exception thrown while constructing Processor object: {0}compiler.err.proc.processor.not.found=\ Annotation processor ''{0}'' not foundcompiler.err.proc.processor.wrong.type=\ Annotation processor ''{0}'' does not implement javax.annotation.processing.Processorcompiler.err.proc.service.problem=\ Error creating a service loader to load Processors.compiler.err.proc.bad.config.file=\ Bad service configuration file, or exception thrown while constructing Processor object: {0}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?