com.sun.tools.javac.util.JCDiagnostic.Error Java Examples
The following examples show how to use
com.sun.tools.javac.util.JCDiagnostic.Error.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: CompilerProperties.java From lua-for-android with BSD 3-Clause "New" or "Revised" License | 4 votes |
public static Error OutputDirMustBeSpecifiedWithDashMOption(Object... args){ return new Error("compiler","output.dir.must.be.specified.with.dash.m.option",args); }
Example #2
Source File: CompilerProperties.java From lua-for-android with BSD 3-Clause "New" or "Revised" License | 4 votes |
public static Error StaticIntfMethodInvokeNotSupportedInSource(Object... args){ return new Error("compiler","static.intf.method.invoke.not.supported.in.source",args); }
Example #3
Source File: CompilerProperties.java From lua-for-android with BSD 3-Clause "New" or "Revised" License | 4 votes |
public static Error LimitLocals(Object... args){ return new Error("compiler","limit.locals",args); }
Example #4
Source File: CompilerProperties.java From lua-for-android with BSD 3-Clause "New" or "Revised" License | 4 votes |
public static Error EnclClassRequired(Object... args){ return new Error("compiler","encl.class.required",args); }
Example #5
Source File: CompilerProperties.java From lua-for-android with BSD 3-Clause "New" or "Revised" License | 4 votes |
public static Error EnumTypesNotExtensible(Object... args){ return new Error("compiler","enum.types.not.extensible",args); }
Example #6
Source File: CompilerProperties.java From lua-for-android with BSD 3-Clause "New" or "Revised" License | 4 votes |
public static Error CantRefBeforeCtorCalled(Object... args){ return new Error("compiler","cant.ref.before.ctor.called",args); }
Example #7
Source File: CompilerProperties.java From lua-for-android with BSD 3-Clause "New" or "Revised" License | 4 votes |
public static Error StringConstReq(Object... args){ return new Error("compiler","string.const.req",args); }
Example #8
Source File: CompilerProperties.java From lua-for-android with BSD 3-Clause "New" or "Revised" License | 4 votes |
public static Error ThrowsNotAllowedInIntfAnnotation(Object... args){ return new Error("compiler","throws.not.allowed.in.intf.annotation",args); }
Example #9
Source File: CompilerProperties.java From lua-for-android with BSD 3-Clause "New" or "Revised" License | 4 votes |
public static Error FinalParameterMayNotBeAssigned(Object... args){ return new Error("compiler","final.parameter.may.not.be.assigned",args); }
Example #10
Source File: CompilerProperties.java From lua-for-android with BSD 3-Clause "New" or "Revised" License | 4 votes |
public static Error InvalidHexNumber(Object... args){ return new Error("compiler","invalid.hex.number",args); }
Example #11
Source File: CompilerProperties.java From lua-for-android with BSD 3-Clause "New" or "Revised" License | 4 votes |
public static Error StaticMethodsCannotBeAnnotatedWithOverride(Object... args){ return new Error("compiler","static.methods.cannot.be.annotated.with.override",args); }
Example #12
Source File: CompilerProperties.java From lua-for-android with BSD 3-Clause "New" or "Revised" License | 4 votes |
public static Error NameClashSameErasure(Object... args){ return new Error("compiler","name.clash.same.erasure",args); }
Example #13
Source File: CompilerProperties.java From lua-for-android with BSD 3-Clause "New" or "Revised" License | 4 votes |
public static Error MulticatchTypesMustBeDisjoint(Object... args){ return new Error("compiler","multicatch.types.must.be.disjoint",args); }
Example #14
Source File: CompilerProperties.java From lua-for-android with BSD 3-Clause "New" or "Revised" License | 4 votes |
public static Error CallToSuperNotAllowedInEnumCtor(Object... args){ return new Error("compiler","call.to.super.not.allowed.in.enum.ctor",args); }
Example #15
Source File: CompilerProperties.java From lua-for-android with BSD 3-Clause "New" or "Revised" License | 4 votes |
public static Error BadInitializer(Object... args){ return new Error("compiler","bad.initializer",args); }
Example #16
Source File: CompilerProperties.java From lua-for-android with BSD 3-Clause "New" or "Revised" License | 4 votes |
public static Error ProcProcessorWrongType(Object... args){ return new Error("compiler","proc.processor.wrong.type",args); }
Example #17
Source File: CompilerProperties.java From lua-for-android with BSD 3-Clause "New" or "Revised" License | 4 votes |
public static Error InvalidBinaryNumber(Object... args){ return new Error("compiler","invalid.binary.number",args); }
Example #18
Source File: CompilerProperties.java From lua-for-android with BSD 3-Clause "New" or "Revised" License | 4 votes |
public static Error OperatorCantBeApplied(Object... args){ return new Error("compiler","operator.cant.be.applied",args); }
Example #19
Source File: CompilerProperties.java From lua-for-android with BSD 3-Clause "New" or "Revised" License | 4 votes |
public static Error TypeVarMayNotBeFollowedByOtherBounds(Object... args){ return new Error("compiler","type.var.may.not.be.followed.by.other.bounds",args); }
Example #20
Source File: CompilerProperties.java From lua-for-android with BSD 3-Clause "New" or "Revised" License | 4 votes |
public static Error DuplicateDefaultLabel(Object... args){ return new Error("compiler","duplicate.default.label",args); }
Example #21
Source File: CompilerProperties.java From lua-for-android with BSD 3-Clause "New" or "Revised" License | 4 votes |
public static Error VarargsInvalidTrustmeAnno(Object... args){ return new Error("compiler","varargs.invalid.trustme.anno",args); }
Example #22
Source File: CompilerProperties.java From lua-for-android with BSD 3-Clause "New" or "Revised" License | 4 votes |
public static Error StringSwitchNotSupportedInSource(Object... args){ return new Error("compiler","string.switch.not.supported.in.source",args); }
Example #23
Source File: CompilerProperties.java From lua-for-android with BSD 3-Clause "New" or "Revised" License | 4 votes |
public static Error ServiceImplementationIsAbstract(Object... args){ return new Error("compiler","service.implementation.is.abstract",args); }
Example #24
Source File: CompilerProperties.java From lua-for-android with BSD 3-Clause "New" or "Revised" License | 4 votes |
public static Error AnnotationsAfterTypeParamsNotSupportedInSource(Object... args){ return new Error("compiler","annotations.after.type.params.not.supported.in.source",args); }
Example #25
Source File: CompilerProperties.java From lua-for-android with BSD 3-Clause "New" or "Revised" License | 4 votes |
public static Error CyclicInheritance(Object... args){ return new Error("compiler","cyclic.inheritance",args); }
Example #26
Source File: CompilerProperties.java From lua-for-android with BSD 3-Clause "New" or "Revised" License | 4 votes |
public static Error IllegalRefToVarType(Object... args){ return new Error("compiler","illegal.ref.to.var.type",args); }
Example #27
Source File: CompilerProperties.java From lua-for-android with BSD 3-Clause "New" or "Revised" License | 4 votes |
public static Error IllegalArrayCreationBothDimensionAndInitialization(Object... args){ return new Error("compiler","illegal.array.creation.both.dimension.and.initialization",args); }
Example #28
Source File: CompilerProperties.java From lua-for-android with BSD 3-Clause "New" or "Revised" License | 4 votes |
public static Error DuplicateRequires(Object... args){ return new Error("compiler","duplicate.requires",args); }
Example #29
Source File: CompilerProperties.java From lua-for-android with BSD 3-Clause "New" or "Revised" License | 4 votes |
public static Error CyclicAnnotationElement(Object... args){ return new Error("compiler","cyclic.annotation.element",args); }
Example #30
Source File: CompilerProperties.java From lua-for-android with BSD 3-Clause "New" or "Revised" License | 4 votes |
public static Error TypesIncompatibleDiffRet(Object... args){ return new Error("compiler","types.incompatible.diff.ret",args); }