at.dms.kjc
Class KjcMessages

java.lang.Object
  |
  +--at.dms.kjc.KjcMessages

public class KjcMessages
extends java.lang.Object

Generated file containing message definitions. Source file: KjcMessages.msg


Field Summary
static MessageDescription ADD_BADTYPE
          Message of level 'error': Cannot add \"{0}\" and \"{1}\"
static MessageDescription AND_BADTYPE
          Message of level 'error': Cannot apply && operator to \"{0}\" and \"{1}\"
static MessageDescription ARRAY_BADTYPE
          Message of level 'error': Array size must be ordinal but was \"{0}\"
static MessageDescription ARRAY_EXPRESSION_INT
          Message of level 'error': Array accessor must be ordinal but was \"{0}\"
static MessageDescription ARRAY_INIT_BADARRAY
          Message of level 'error': Array initializers must be of array type but were \"{0}\"
static MessageDescription ARRAY_INIT_BADTYPE
          Message of level 'error': Array initializers value must be assignable to \"{0}\" type but was \"{1}\"
static MessageDescription ARRAY_LENGTH_BADTYPE
          Message of level 'error': Try to access an array length on \"{0}\" which is not an array
static MessageDescription ARRAY_NEW_NOSIZE
          Message of level 'error': Array constructor with unsized brackets not allowed
static MessageDescription ARRAY_PREFIX
          Message of level 'error': Array accessor prefix must be an array type but was \"{0}\"
static MessageDescription ASSIGNMENT_BADTYPE
          Message of level 'error': Cannot assign a value of type \"{0}\" to a variable of type \"{1}\"
static MessageDescription ASSIGNMENT_IN_CONDITION
          Message of level 'warning(1)': Assignment operator may have been used in place of equality operator
static MessageDescription ASSIGNMENT_NOTLVALUE
          Message of level 'error': Cannot assign a value to something that is not an LValue
static MessageDescription ASSIGNS_LOOP_VARIABLE
          Message of level 'warning(2)': Assignment of loop variable \"{0}\" inside loop body
static MessageDescription BAD_LOCAL_NOT_FINAL
          Message of level 'error': Local variable \"{0}\" should be final to be used in inner class
static MessageDescription BAD_METHOD_NAME
          Message of level 'error': method call not allowed on something that is not an object
static MessageDescription BAD_SUPER_STATIC
          Message of level 'error': Bad usage of super in a static context
static MessageDescription BAD_THIS_STATIC
          Message of level 'error': In this static context \"this\" is not accessible (no instance field or method)
static MessageDescription BITWISE_BADTYPE
          Message of level 'error': Cannot apply bitwise &, ^, | operators to \"{0}\" and \"{1}\"
static MessageDescription CANNOT_BREAK
          Message of level 'error': Break statement not enclosed by breakable statement
static MessageDescription CANNOT_CONTINUE
          Message of level 'error': Continue statement not enclosed by continuable statement
static MessageDescription CASE_FALL_THROUGH
          Message of level 'warning(2)': Fall through is dangerous and should not be used
static MessageDescription CAST_CANT
          Message of level 'error': Cannot cast from \"{0}\" to \"{1}\"
static MessageDescription CLASS_ACCESSPARENT
          Message of level 'error': Super class \"{0}\" is not in the same package and not public
static MessageDescription CLASS_CIRCULARITY
          Message of level 'error': Class \"{0}\" inherits from itself (circularity)
static MessageDescription CLASS_EXTENDS_INTERFACE
          Message of level 'error': A class cannot extend interface \"{0}\" (use implements instead)
static MessageDescription CLASS_FLAGS
          Message of level 'error': The only flags allowed for classes are: public, static, final, abstract
static MessageDescription CLASS_FLAGS_IN_INTERFACE
          Message of level 'error': Modifiers of a class in an interfaces must be some of: public, abstract, static, final
static MessageDescription CLASS_NAME_FILENAME
          Message of level 'error': Class \"{0}\" is public and should be defined in a file with same name and not \"{1}\"
static MessageDescription CLASS_NOACCESS
          Message of level 'error': Cannot access class \"{0}\" it is in an other package and not a class member
static MessageDescription CLASS_PARENT_FINAL
          Message of level 'error': Super class \"{0}\" is final and cannot be extended
static MessageDescription CLASS_SHOULD_BE_ABSTRACT
          Message of level 'error': Class \"{0}\" should be declared abstract or \"{1}\" must be implemented
static MessageDescription CLASS_SHOULD_IMPLEMENTS
          Message of level 'error': Class \"{0}\" should implement \"{1}\"
static MessageDescription CLASS_UNKNOWN
          Message of level 'error': Cannot find class \"{0}\"
static MessageDescription CLASSFILE_TYPE_UNKNOWN
          Message of level 'error': Cannot find type \"{0}\"
static MessageDescription CLAZZ_RENAME
          Message of level 'error': Class \"{0}\" is already defined in current block
static MessageDescription COMPARING_BOOLEAN_CONSTANT
          Message of level 'warning(2)': Comparing boolean expression to constant values is not necessary
static MessageDescription CONSTANT_VARIABLE_NOT_FINAL
          Message of level 'notice': Local variable \"{0}\" is constant and should be declared final
static MessageDescription CONSTRUCTOR_BAD_NAME
          Message of level 'error': Constructor {0} must be named {1}
static MessageDescription CONSTRUCTOR_EXPLICIT_CALL
          Message of level 'error': Cannot access field \"{0}\" in explicit constructor call
static MessageDescription CONSTRUCTOR_FLAGS
          Message of level 'error': Cannot use an other flag than (public, protected, private) for constructor {0}
static MessageDescription CONSTRUCTOR_NOACCESS
          Message of level 'error': Cannot access constructor \"{0}\"
static MessageDescription CONSTRUCTOR_NOBODY
          Message of level 'error': Constructor {0} must have a body
static MessageDescription CONSTRUCTOR_NOTFOUND
          Message of level 'error': Cannot find constructor \"{0}\" with matching parameters
static MessageDescription CONTINUE_NOTLOOP
          Message of level 'error': Target of continue statement is not continuable
static MessageDescription CUNIT_RENAME
          Message of level 'error': Redeclaration of type \"{0}\" declared in the same compilation unit
static MessageDescription CUNIT_RENAME2
          Message of level 'error': Type \"{0}\" is imported by at least two \"import on demand\" statements
static MessageDescription DIVIDE_BADTYPE
          Message of level 'error': Cannot divide \"{0}\" and \"{1}\"
static MessageDescription DIVIDE_BY_ZERO
          Message of level 'error': Cannot divide a number by zero
static MessageDescription DUPLICATE_MODIFIER
          Message of level 'error': Modifier \"{0}\" appears more than once in declaration
static MessageDescription EMPTY_CATCH_BLOCK
          Message of level 'warning(1)': Catch block is empty
static MessageDescription ENCLOSE_IF_ELSE_IN_BLOCK
          Message of level 'warning(2)': Else part of if-statement should be enclosed in block statement
static MessageDescription ENCLOSE_IF_THEN_IN_BLOCK
          Message of level 'warning(2)': Then part of if-statement should be enclosed in block statement
static MessageDescription ENCLOSE_LOOP_BODY_IN_BLOCK
          Message of level 'warning(2)': Loop body should be enclosed in block statement
static MessageDescription EQUALITY_BADTYPE
          Message of level 'error': Cannot apply == operator onto \"{0}\" and \"{1}\"
static MessageDescription EQUALITY_TYPE
          Message of level 'error': Cannot compare \"{0}\" and \"{1}\"
static MessageDescription FIELD_AMBIGUOUS
          Message of level 'error': Field \"{0}\" is ambiguous, it is inherited from several super classes or interfaces
static MessageDescription FIELD_AS_METHOD
          Message of level 'error': \"{0}\" is not the name of a method, but a field name
static MessageDescription FIELD_BADACCESS
          Message of level 'error': Cannot access fields on \"{0}\" that is not a class type
static MessageDescription FIELD_FLAGS
          Message of level 'error': Field flags must be some of: (public, protected, private, final, static, transient, volatile)
static MessageDescription FIELD_FLAGS_IN_INTERFACE
          Message of level 'error': Field flags in an interface must be some of: (public, final, static)
static MessageDescription FIELD_NOACCESS
          Message of level 'error': Cannot access field \"{0}\" it is in an other package and not a class member
static MessageDescription FIELD_NOSTATIC
          Message of level 'error': Cannot access non-static field from a static method
static MessageDescription FIELD_NOT_DECLARED_YET
          Message of level 'error': Cannot access field \"{0}\" that is not fully declared here
static MessageDescription FIELD_PRIVATE
          Message of level 'error': Cannot access private field \"{0}\"
static MessageDescription FIELD_RENAME
          Message of level 'error': Field \"{0}\" is already defined in current class
static MessageDescription FIELD_RENAME_SUPER
          Message of level 'warning(1)': Field \"{0}\" is already declared in a super class and is visible here
static MessageDescription FIELD_STATICERR
          Message of level 'error': Cannot access non-static field \"{0}\" from static inner class
static MessageDescription FIELD_UNKNOWN
          Message of level 'error': Cannot find field \"{0}\"
static MessageDescription FILTER_NOT_FOUND
          Message of level 'error': Warning filter \"{0}\" not found
static MessageDescription FINAL_FIELD_IMPLICITLY_STATIC
          Message of level 'warning(3)': Field \"{0}\" is implicitly static: it has the same value for each instance
static MessageDescription FOR_COND_ISFALSE
          Message of level 'error': For condition must not be a constant expression with the value false
static MessageDescription FOR_COND_NOTBOOLEAN
          Message of level 'error': For condition must be boolean and not \"{0}\"
static MessageDescription IF_COND_NOTBOOLEAN
          Message of level 'error': If condition must be boolean and not \"{0}\"
static MessageDescription IMPORT_CURRENT_PACKAGE
          Message of level 'warning(2)': On-Demand-Import of current package is not necessary
static MessageDescription IMPORT_JAVA_LANG
          Message of level 'warning(2)': On-Demand-Import of package java.lang is not necessary
static MessageDescription INITIALIZER_RETURN
          Message of level 'error': Return statement are not allowed in initializers
static MessageDescription INNER_INHERITENCE
          Message of level 'error': Class \"{0}\" is not static and cannot be constructed from \"{1}\"
static MessageDescription INSTANCE_PREFIXES_STATIC_FIELD
          Message of level 'warning(2)': Avoid using an instance to access a class (static) field; use a class name instead
static MessageDescription INSTANCE_PREFIXES_STATIC_METHOD
          Message of level 'warning(2)': Avoid using an instance to access a class (static) method; use a class name instead
static MessageDescription INSTANCEOF_BADTYPE
          Message of level 'error': Cannot apply operator \"instanceof\" to \"{0}\" and \"{1}\"
static MessageDescription INTERFACE_IMPLEMENTED_BY_SUPERCLASS
          Message of level 'warning(2)': Interface \"{0}\" already implemented/extended by superclass/interface \"{1}\"
static MessageDescription INTERFACES_DUPLICATE
          Message of level 'error': Duplicate extension/implementation of interface \"{1}\" by \"{0}\"
static MessageDescription INVALID_CLASS_MODIFIERS
          Message of level 'error': Invalid modifiers for class definition
static MessageDescription INVALID_ESCAPE_SEQUENCE
          Message of level 'error': \"{0}\" contains an invalid escape sequence
static MessageDescription INVALID_EXPRESSION_STATEMENT
          Message of level 'error': This expression cannot be used as a statement
static MessageDescription INVALID_INTERFACE_MODIFIERS
          Message of level 'error': Invalid modifiers for interface definition
static MessageDescription INVALID_OCTAL_CHAR
          Message of level 'error': \"{0}\" is not a valid char constant [value should be <= 0377]
static MessageDescription LABEL_ALREADY_EXISTS
          Message of level 'error': Label \"{0}\" is already defined in current statement hierarchy
static MessageDescription LABEL_NOT_STATEMENT
          Message of level 'error': Label \"{0}\" does not label a statement
static MessageDescription LABEL_UNKNOWN
          Message of level 'error': Label \"{0}\" is not defined in current statement hierarchy
static MessageDescription LITER_DOUBLE_BAD
          Message of level 'error': \"{0}\" is not a double literal
static MessageDescription LITER_DOUBLE_RANGE
          Message of level 'error': Double literal \"{0}\" is out of range
static MessageDescription LITER_FLOAT_BAD
          Message of level 'error': \"{0}\" is not a float literal
static MessageDescription LITER_FLOAT_RANGE
          Message of level 'error': Float literal \"{0}\" is out of range
static MessageDescription LITER_INT_BAD
          Message of level 'error': \"{0}\" is not a int literal
static MessageDescription LITER_REAL_BAD
          Message of level 'error': \"{0}\" is not a float or double literal
static MessageDescription METHOD_ABSTRACT_CALL
          Message of level 'error': Cannot explicitly call abstract method \"{0}\"
static MessageDescription METHOD_ABSTRACT_CLASSNOT
          Message of level 'error': A method defined abstract must be defined in an abstract class
static MessageDescription METHOD_ACCESS_DIFFERENT
          Message of level 'error': Method \"{0}\" cannot redefine super method with more restrictive access
static MessageDescription METHOD_AMBIGOUS
          Message of level 'error': Call of method \"{0}\" is ambiguous
static MessageDescription METHOD_BADPREFIX
          Message of level 'error': Prefix of method \"{0}\" must be a reference, not \"{1}\"
static MessageDescription METHOD_BODY_IN_INTERFACE
          Message of level 'error': A method defined in an interface cannot have a body
static MessageDescription METHOD_BODY_NATIVE_ABSTRACT
          Message of level 'error': A method defined native or abstract cannot have a body
static MessageDescription METHOD_FLAGS
          Message of level 'error': Method flags must be some of: public, protected, private, abstract, final, static, native, synchronized
static MessageDescription METHOD_FLAGS_IN_INTERFACE
          Message of level 'error': Method flags must be some of: public, abstract
static MessageDescription METHOD_NEED_RETURN
          Message of level 'error': Method \"{0}\" must return a value
static MessageDescription METHOD_NOACCESS
          Message of level 'error': Cannot access method \"{0}\"
static MessageDescription METHOD_NOBODY_NOABSTRACT
          Message of level 'error': A method not abstract must have a body
static MessageDescription METHOD_NOT_FOUND
          Message of level 'error': Cannot find method \"{0}\"
static MessageDescription METHOD_NOTFOUND
          Message of level 'error': Cannot find method \"{0}\" with good parameters
static MessageDescription METHOD_OVERRIDE_FINAL
          Message of level 'error': The method \"{0}\" is declared final in a super class
static MessageDescription METHOD_REDEFINE
          Message of level 'error': Method \"{0}\" is already defined
static MessageDescription METHOD_RETURN_DIFFERENT
          Message of level 'error': Method \"{0}\" cannot redefine super method with different type
static MessageDescription METHOD_STATIC_BAD
          Message of level 'error': Try to access the non static methods from a static context
static MessageDescription METHOD_THROWS_DIFFERENT
          Message of level 'error': Method \"{0}\" cannot throw \"{1}\" because is not declared in overidden method
static MessageDescription METHOD_UNCATCHED_EXCEPTION
          Message of level 'error': Exception \"{0}\" is not caught and does not appear in throws list
static MessageDescription METHOD_UNCHECKED_EXCEPTION
          Message of level 'warning(1)': Declared exception \"{0}\" is an unchecked exception
static MessageDescription METHOD_UNTHROWN_EXCEPTION
          Message of level 'warning(1)': Declared exception \"{0}\" is never thrown
static MessageDescription MINUS_BADTYPE
          Message of level 'error': Cannot substract \"{0}\" and \"{1}\"
static MessageDescription MODIFIER_ORDER
          Message of level 'notice': Modifiers appear in non-standard order [{0}]
static MessageDescription MODIFIERS_ABSTRACT_AND_FINAL
          Message of level 'error': Modifiers 'abstract' and 'final' cannot appear together in a declaration
static MessageDescription MODULO_BADTYPE
          Message of level 'error': Cannot apply % operator on \"{0}\" and \"{1}\"
static MessageDescription MULT_BADTYPE
          Message of level 'error': Cannot multiply \"{0}\" and \"{1}\"
static MessageDescription MULTIPLE_ACCESS_MODIFIERS
          Message of level 'error': More than one of these modifiers appears in the declaration: 'public', 'private', 'protected'
static MessageDescription NARROWING_COMPOUND_ASSIGNMENT
          Message of level 'warning(2)': Implicit narrowing conversion occurs in compound assignment
static MessageDescription NEW_ABSTRACT
          Message of level 'error': Cannot create a new object of type \"{0}\" because it is an abstract class
static MessageDescription NEW_INTERFACE
          Message of level 'error': Cannot create a new object of type \"{0}\" because it is an interface
static MessageDescription NO_INPUT_FILES
          Message of level 'error': No input files given
static MessageDescription OLD_STYLE_ARRAY_BOUNDS
          Message of level 'warning(3)': Old style array bound declaration
static MessageDescription OR_BADTYPE
          Message of level 'error': Cannot apply || operator to \"{0}\" and \"{1}\"
static MessageDescription PACKAGE_IS_MISSING
          Message of level 'notice': There is no package declaration for this compilation unit
static MessageDescription PACKAGE_PROTECTED_ATTRIBUTE
          Message of level 'notice': Field \"{0}\" should be declared private or public
static MessageDescription POSTFIX_BADTYPE
          Message of level 'error': Cannot apply postfix operator onto \"{0}\"
static MessageDescription POSTFIX_NOTINITIALIZED
          Message of level 'error': Cannot apply postfix operator onto a variable that may not have been initialized
static MessageDescription POSTFIX_NOTLVALUE
          Message of level 'error': Cannot apply postfix operator onto something that is not an lvalue
static MessageDescription PREFIX_BADTYPE
          Message of level 'error': Cannot apply prefix operator onto \"{0}\"
static MessageDescription PREFIX_NOTINITIALIZED
          Message of level 'error': Cannot apply prefix operator onto a variable that may not have been initialized
static MessageDescription PREFIX_NOTLVALUE
          Message of level 'error': Cannot apply prefix operator onto something that is not an lvalue
static MessageDescription QUALIFIEDCREATE_NOT_INNER
          Message of level 'error': \"{0}\" is not the name of an accessible non-abstract inner class.
static MessageDescription QUALIFIEDCREATE_NOTCLASS
          Message of level 'error': The type of the primary expression, \"{0}\" is not a class type.
static MessageDescription REASSIGNMENT_FINAL_FIELD
          Message of level 'error': Final field \"{0}\" may have already been initialized
static MessageDescription RELATIONAL_TYPE
          Message of level 'error': Cannot apply relational operator onto \"{0}\" and \"{1}\"
static MessageDescription REPLACE_PACKAGE_IMPORT
          Message of level 'notice': Replace package import \"{0}\" by import of class(es) \"{1}\"
static MessageDescription RETURN_BADTYPE
          Message of level 'error': Type \"{0}\" cannot be returned as a \"{1}\"
static MessageDescription RETURN_EMPTY_NONVOID
          Message of level 'error': Return statement with no value in method returning non-void
static MessageDescription RETURN_NONEMPTY_VOID
          Message of level 'error': Return statement with a value in method returning void
static MessageDescription SELF_ASSIGNMENT
          Message of level 'warning(1)': Assignment of an expression to itself
static MessageDescription SHIFT_BADTYPE
          Message of level 'error': Cannot apply shift <<, >>, >>> operators to \"{0}\" and \"{1}\"
static MessageDescription STATEMENT_UNREACHABLE
          Message of level 'error': Statement is unreachable
static MessageDescription STATIC_INITIALIZER_THROWABLE
          Message of level 'error': Checked exceptions are not allowed in static initializers
static MessageDescription STRAY_COMMA
          Message of level 'warning(2)': Stray comma
static MessageDescription STRAY_SEMICOLON
          Message of level 'warning(3)': Stray semicolon
static MessageDescription STRING_COMPARISON
          Message of level 'warning(1)': Comparison of strings with '==' operator
static MessageDescription SWITCH_BADEXPR
          Message of level 'error': Switch expression must be ordinal
static MessageDescription SWITCH_DEFAULT_DOUBLE
          Message of level 'error': This default selector must be unique in switch
static MessageDescription SWITCH_LABEL_EXIST
          Message of level 'error': Label \"{0}\" is already defined in current switch
static MessageDescription SWITCH_LABEL_EXPR_NOTCONST
          Message of level 'error': Switch label must be constant value
static MessageDescription SWITCH_LABEL_EXPR_NOTINT
          Message of level 'error': Switch label must be ordinal and not \"{0}\"
static MessageDescription SWITCH_LABEL_OVERFLOW
          Message of level 'error': This label is greater than the max value of switch expression
static MessageDescription SWITCH_NO_DEFAULT
          Message of level 'warning(2)': There is no default label in switch statement
static MessageDescription SYNCHRONIZED_NOTREFERENCE
          Message of level 'error': synchronized expression must be reference
static MessageDescription THIS_BADACCESS
          Message of level 'error': Can only apply \".this\" operator onto references
static MessageDescription THIS_INVALID_OUTER
          Message of level 'error': Invalid outer class for this operation
static MessageDescription THROW_BADTYPE
          Message of level 'error': Cannot throw \"{0}\" it does not inherit from \"java.lang.Throwable\"
static MessageDescription TOP_RENAME
          Message of level 'error': Duplicate class: \"{0}\"
static MessageDescription TRINARY_BADCOND
          Message of level 'error': Condition in trinary expression must be boolean
static MessageDescription TRINARY_INCOMP
          Message of level 'error': Incompatible types in trinary expression
static MessageDescription TRY_CATCH_NOTHROW
          Message of level 'error': Cannot catch \"{0}\" that it is not thrown in the try statement
static MessageDescription TRY_NOCATCH
          Message of level 'error': A try statement must have at least one catch or finally block
static MessageDescription TRY_UNREACHABLE
          Message of level 'error': Exception \"{0}\" is already caught by previous catch
static MessageDescription TYPE_AS_METHOD
          Message of level 'error': \"{0}\" is not the name of a method, but a type name: use new for constructors
static MessageDescription TYPE_NAME_AMBIGUOUS
          Message of level 'error': Member type \"{0}\" is an ambigious name found in the types \"{1}\" and \"{2}\"
static MessageDescription TYPE_UNKNOWN
          Message of level 'error': Cannot find type \"{0}\"
static MessageDescription UNARY_BADTYPE_BNOT
          Message of level 'error': Cannot apply unary operator ~ onto \"{0}\"
static MessageDescription UNARY_BADTYPE_LNOT
          Message of level 'error': Cannot apply unary operator ! onto \"{0}\"
static MessageDescription UNARY_BADTYPE_PM
          Message of level 'error': Cannot apply unary operator + / - onto \"{0}\"
static MessageDescription UNINITIALIZED_FIELD
          Message of level 'notice': Field \"{0}\" may have not been explicitely initialized
static MessageDescription UNINITIALIZED_FINAL_FIELD
          Message of level 'error': Final field \"{0}\" may have not been initialized
static MessageDescription UNINITIALIZED_LOCAL_VARIABLE
          Message of level 'error': Local variable \"{0}\" may have not been initialized before use
static MessageDescription UNNECESSARY_CAST
          Message of level 'warning(2)': Type \"{0}\" does not need to be casted into \"{1}\"
static MessageDescription UNNECESSARY_INSTANCEOF
          Message of level 'warning(1)': Instanceof evaluation is not necessary
static MessageDescription UNUSED_CATCH_PARAMETER
          Message of level 'warning(3)': Catch parameter \"{0}\" is not used
static MessageDescription UNUSED_CLASS_IMPORT
          Message of level 'warning(3)': Imported class \"{0}\" is not used
static MessageDescription UNUSED_LABEL
          Message of level 'warning(1)': Label \"{0}\" is not used
static MessageDescription UNUSED_LOCALVAR
          Message of level 'warning(1)': Local variable \"{0}\" is not used
static MessageDescription UNUSED_PACKAGE_IMPORT
          Message of level 'warning(1)': Imported package \"{0}\" is not used
static MessageDescription UNUSED_PARAMETER
          Message of level 'warning(3)': Parameter \"{0}\" is not used
static MessageDescription UNUSED_PRIVATE_FIELD
          Message of level 'warning(1)': Private field \"{0}\" is not used
static MessageDescription UNUSED_PRIVATE_METHOD
          Message of level 'warning(1)': Private method \"{0}\" is not used
static MessageDescription UNUSED_RETURN_VALUE_FROM_FUNCTION_CALL
          Message of level 'warning(3)': The method \"{0}\" returns a value that is not used
static MessageDescription VAR_INIT_BADTYPE
          Message of level 'error': Variable \"{0}\" cannot be initialized by a value of type \"{1}\"
static MessageDescription VAR_RENAME
          Message of level 'error': Variable \"{0}\" is already defined in current block
static MessageDescription VAR_UNKNOWN
          Message of level 'error': Variable \"{0}\" is not defined in current context
static MessageDescription WHILE_COND_NOTBOOLEAN
          Message of level 'error': While condition must be boolean and not \"{0}\"
 
Constructor Summary
KjcMessages()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NO_INPUT_FILES

public static final MessageDescription NO_INPUT_FILES
Message of level 'error': No input files given

FILTER_NOT_FOUND

public static final MessageDescription FILTER_NOT_FOUND
Message of level 'error': Warning filter \"{0}\" not found

CLASS_FLAGS

public static final MessageDescription CLASS_FLAGS
Message of level 'error': The only flags allowed for classes are: public, static, final, abstract

CLASS_FLAGS_IN_INTERFACE

public static final MessageDescription CLASS_FLAGS_IN_INTERFACE
Message of level 'error': Modifiers of a class in an interfaces must be some of: public, abstract, static, final

CLASS_CIRCULARITY

public static final MessageDescription CLASS_CIRCULARITY
Message of level 'error': Class \"{0}\" inherits from itself (circularity)

CLASS_NAME_FILENAME

public static final MessageDescription CLASS_NAME_FILENAME
Message of level 'error': Class \"{0}\" is public and should be defined in a file with same name and not \"{1}\"

CLASS_ACCESSPARENT

public static final MessageDescription CLASS_ACCESSPARENT
Message of level 'error': Super class \"{0}\" is not in the same package and not public

CLASS_PARENT_FINAL

public static final MessageDescription CLASS_PARENT_FINAL
Message of level 'error': Super class \"{0}\" is final and cannot be extended

CLASS_EXTENDS_INTERFACE

public static final MessageDescription CLASS_EXTENDS_INTERFACE
Message of level 'error': A class cannot extend interface \"{0}\" (use implements instead)

INTERFACES_DUPLICATE

public static final MessageDescription INTERFACES_DUPLICATE
Message of level 'error': Duplicate extension/implementation of interface \"{1}\" by \"{0}\"

CLASS_UNKNOWN

public static final MessageDescription CLASS_UNKNOWN
Message of level 'error': Cannot find class \"{0}\"

CLASS_SHOULD_IMPLEMENTS

public static final MessageDescription CLASS_SHOULD_IMPLEMENTS
Message of level 'error': Class \"{0}\" should implement \"{1}\"

CLASS_SHOULD_BE_ABSTRACT

public static final MessageDescription CLASS_SHOULD_BE_ABSTRACT
Message of level 'error': Class \"{0}\" should be declared abstract or \"{1}\" must be implemented

INNER_INHERITENCE

public static final MessageDescription INNER_INHERITENCE
Message of level 'error': Class \"{0}\" is not static and cannot be constructed from \"{1}\"

TOP_RENAME

public static final MessageDescription TOP_RENAME
Message of level 'error': Duplicate class: \"{0}\"

CUNIT_RENAME

public static final MessageDescription CUNIT_RENAME
Message of level 'error': Redeclaration of type \"{0}\" declared in the same compilation unit

CUNIT_RENAME2

public static final MessageDescription CUNIT_RENAME2
Message of level 'error': Type \"{0}\" is imported by at least two \"import on demand\" statements

FIELD_FLAGS_IN_INTERFACE

public static final MessageDescription FIELD_FLAGS_IN_INTERFACE
Message of level 'error': Field flags in an interface must be some of: (public, final, static)

FIELD_FLAGS

public static final MessageDescription FIELD_FLAGS
Message of level 'error': Field flags must be some of: (public, protected, private, final, static, transient, volatile)

FIELD_AMBIGUOUS

public static final MessageDescription FIELD_AMBIGUOUS
Message of level 'error': Field \"{0}\" is ambiguous, it is inherited from several super classes or interfaces

FIELD_RENAME

public static final MessageDescription FIELD_RENAME
Message of level 'error': Field \"{0}\" is already defined in current class

UNINITIALIZED_FINAL_FIELD

public static final MessageDescription UNINITIALIZED_FINAL_FIELD
Message of level 'error': Final field \"{0}\" may have not been initialized

REASSIGNMENT_FINAL_FIELD

public static final MessageDescription REASSIGNMENT_FINAL_FIELD
Message of level 'error': Final field \"{0}\" may have already been initialized

ASSIGNMENT_NOTLVALUE

public static final MessageDescription ASSIGNMENT_NOTLVALUE
Message of level 'error': Cannot assign a value to something that is not an LValue

ASSIGNMENT_BADTYPE

public static final MessageDescription ASSIGNMENT_BADTYPE
Message of level 'error': Cannot assign a value of type \"{0}\" to a variable of type \"{1}\"

CLAZZ_RENAME

public static final MessageDescription CLAZZ_RENAME
Message of level 'error': Class \"{0}\" is already defined in current block

VAR_UNKNOWN

public static final MessageDescription VAR_UNKNOWN
Message of level 'error': Variable \"{0}\" is not defined in current context

VAR_RENAME

public static final MessageDescription VAR_RENAME
Message of level 'error': Variable \"{0}\" is already defined in current block

UNINITIALIZED_LOCAL_VARIABLE

public static final MessageDescription UNINITIALIZED_LOCAL_VARIABLE
Message of level 'error': Local variable \"{0}\" may have not been initialized before use

VAR_INIT_BADTYPE

public static final MessageDescription VAR_INIT_BADTYPE
Message of level 'error': Variable \"{0}\" cannot be initialized by a value of type \"{1}\"

IF_COND_NOTBOOLEAN

public static final MessageDescription IF_COND_NOTBOOLEAN
Message of level 'error': If condition must be boolean and not \"{0}\"

FOR_COND_NOTBOOLEAN

public static final MessageDescription FOR_COND_NOTBOOLEAN
Message of level 'error': For condition must be boolean and not \"{0}\"

FOR_COND_ISFALSE

public static final MessageDescription FOR_COND_ISFALSE
Message of level 'error': For condition must not be a constant expression with the value false

WHILE_COND_NOTBOOLEAN

public static final MessageDescription WHILE_COND_NOTBOOLEAN
Message of level 'error': While condition must be boolean and not \"{0}\"

LABEL_ALREADY_EXISTS

public static final MessageDescription LABEL_ALREADY_EXISTS
Message of level 'error': Label \"{0}\" is already defined in current statement hierarchy

LABEL_UNKNOWN

public static final MessageDescription LABEL_UNKNOWN
Message of level 'error': Label \"{0}\" is not defined in current statement hierarchy

LABEL_NOT_STATEMENT

public static final MessageDescription LABEL_NOT_STATEMENT
Message of level 'error': Label \"{0}\" does not label a statement

SWITCH_DEFAULT_DOUBLE

public static final MessageDescription SWITCH_DEFAULT_DOUBLE
Message of level 'error': This default selector must be unique in switch

SWITCH_LABEL_EXIST

public static final MessageDescription SWITCH_LABEL_EXIST
Message of level 'error': Label \"{0}\" is already defined in current switch

SWITCH_LABEL_OVERFLOW

public static final MessageDescription SWITCH_LABEL_OVERFLOW
Message of level 'error': This label is greater than the max value of switch expression

SWITCH_LABEL_EXPR_NOTINT

public static final MessageDescription SWITCH_LABEL_EXPR_NOTINT
Message of level 'error': Switch label must be ordinal and not \"{0}\"

SWITCH_LABEL_EXPR_NOTCONST

public static final MessageDescription SWITCH_LABEL_EXPR_NOTCONST
Message of level 'error': Switch label must be constant value

SWITCH_BADEXPR

public static final MessageDescription SWITCH_BADEXPR
Message of level 'error': Switch expression must be ordinal

SYNCHRONIZED_NOTREFERENCE

public static final MessageDescription SYNCHRONIZED_NOTREFERENCE
Message of level 'error': synchronized expression must be reference

STATEMENT_UNREACHABLE

public static final MessageDescription STATEMENT_UNREACHABLE
Message of level 'error': Statement is unreachable

INVALID_EXPRESSION_STATEMENT

public static final MessageDescription INVALID_EXPRESSION_STATEMENT
Message of level 'error': This expression cannot be used as a statement

TYPE_UNKNOWN

public static final MessageDescription TYPE_UNKNOWN
Message of level 'error': Cannot find type \"{0}\"

TYPE_NAME_AMBIGUOUS

public static final MessageDescription TYPE_NAME_AMBIGUOUS
Message of level 'error': Member type \"{0}\" is an ambigious name found in the types \"{1}\" and \"{2}\"

CLASSFILE_TYPE_UNKNOWN

public static final MessageDescription CLASSFILE_TYPE_UNKNOWN
Message of level 'error': Cannot find type \"{0}\"

CANNOT_BREAK

public static final MessageDescription CANNOT_BREAK
Message of level 'error': Break statement not enclosed by breakable statement

CANNOT_CONTINUE

public static final MessageDescription CANNOT_CONTINUE
Message of level 'error': Continue statement not enclosed by continuable statement

CONTINUE_NOTLOOP

public static final MessageDescription CONTINUE_NOTLOOP
Message of level 'error': Target of continue statement is not continuable

METHOD_NOT_FOUND

public static final MessageDescription METHOD_NOT_FOUND
Message of level 'error': Cannot find method \"{0}\"

METHOD_REDEFINE

public static final MessageDescription METHOD_REDEFINE
Message of level 'error': Method \"{0}\" is already defined

METHOD_FLAGS_IN_INTERFACE

public static final MessageDescription METHOD_FLAGS_IN_INTERFACE
Message of level 'error': Method flags must be some of: public, abstract

METHOD_FLAGS

public static final MessageDescription METHOD_FLAGS
Message of level 'error': Method flags must be some of: public, protected, private, abstract, final, static, native, synchronized

METHOD_AMBIGOUS

public static final MessageDescription METHOD_AMBIGOUS
Message of level 'error': Call of method \"{0}\" is ambiguous

METHOD_OVERRIDE_FINAL

public static final MessageDescription METHOD_OVERRIDE_FINAL
Message of level 'error': The method \"{0}\" is declared final in a super class

BAD_METHOD_NAME

public static final MessageDescription BAD_METHOD_NAME
Message of level 'error': method call not allowed on something that is not an object

FIELD_AS_METHOD

public static final MessageDescription FIELD_AS_METHOD
Message of level 'error': \"{0}\" is not the name of a method, but a field name

TYPE_AS_METHOD

public static final MessageDescription TYPE_AS_METHOD
Message of level 'error': \"{0}\" is not the name of a method, but a type name: use new for constructors

METHOD_ABSTRACT_CALL

public static final MessageDescription METHOD_ABSTRACT_CALL
Message of level 'error': Cannot explicitly call abstract method \"{0}\"

METHOD_UNCATCHED_EXCEPTION

public static final MessageDescription METHOD_UNCATCHED_EXCEPTION
Message of level 'error': Exception \"{0}\" is not caught and does not appear in throws list

METHOD_RETURN_DIFFERENT

public static final MessageDescription METHOD_RETURN_DIFFERENT
Message of level 'error': Method \"{0}\" cannot redefine super method with different type

METHOD_THROWS_DIFFERENT

public static final MessageDescription METHOD_THROWS_DIFFERENT
Message of level 'error': Method \"{0}\" cannot throw \"{1}\" because is not declared in overidden method

METHOD_ACCESS_DIFFERENT

public static final MessageDescription METHOD_ACCESS_DIFFERENT
Message of level 'error': Method \"{0}\" cannot redefine super method with more restrictive access

METHOD_NOTFOUND

public static final MessageDescription METHOD_NOTFOUND
Message of level 'error': Cannot find method \"{0}\" with good parameters

METHOD_NOACCESS

public static final MessageDescription METHOD_NOACCESS
Message of level 'error': Cannot access method \"{0}\"

METHOD_BADPREFIX

public static final MessageDescription METHOD_BADPREFIX
Message of level 'error': Prefix of method \"{0}\" must be a reference, not \"{1}\"

METHOD_BODY_IN_INTERFACE

public static final MessageDescription METHOD_BODY_IN_INTERFACE
Message of level 'error': A method defined in an interface cannot have a body

METHOD_BODY_NATIVE_ABSTRACT

public static final MessageDescription METHOD_BODY_NATIVE_ABSTRACT
Message of level 'error': A method defined native or abstract cannot have a body

METHOD_NOBODY_NOABSTRACT

public static final MessageDescription METHOD_NOBODY_NOABSTRACT
Message of level 'error': A method not abstract must have a body

METHOD_ABSTRACT_CLASSNOT

public static final MessageDescription METHOD_ABSTRACT_CLASSNOT
Message of level 'error': A method defined abstract must be defined in an abstract class

METHOD_NEED_RETURN

public static final MessageDescription METHOD_NEED_RETURN
Message of level 'error': Method \"{0}\" must return a value

CONSTRUCTOR_FLAGS

public static final MessageDescription CONSTRUCTOR_FLAGS
Message of level 'error': Cannot use an other flag than (public, protected, private) for constructor {0}

CONSTRUCTOR_NOBODY

public static final MessageDescription CONSTRUCTOR_NOBODY
Message of level 'error': Constructor {0} must have a body

CONSTRUCTOR_BAD_NAME

public static final MessageDescription CONSTRUCTOR_BAD_NAME
Message of level 'error': Constructor {0} must be named {1}

CONSTRUCTOR_NOTFOUND

public static final MessageDescription CONSTRUCTOR_NOTFOUND
Message of level 'error': Cannot find constructor \"{0}\" with matching parameters

CONSTRUCTOR_EXPLICIT_CALL

public static final MessageDescription CONSTRUCTOR_EXPLICIT_CALL
Message of level 'error': Cannot access field \"{0}\" in explicit constructor call

QUALIFIEDCREATE_NOT_INNER

public static final MessageDescription QUALIFIEDCREATE_NOT_INNER
Message of level 'error': \"{0}\" is not the name of an accessible non-abstract inner class.

QUALIFIEDCREATE_NOTCLASS

public static final MessageDescription QUALIFIEDCREATE_NOTCLASS
Message of level 'error': The type of the primary expression, \"{0}\" is not a class type.

INITIALIZER_RETURN

public static final MessageDescription INITIALIZER_RETURN
Message of level 'error': Return statement are not allowed in initializers

STATIC_INITIALIZER_THROWABLE

public static final MessageDescription STATIC_INITIALIZER_THROWABLE
Message of level 'error': Checked exceptions are not allowed in static initializers

METHOD_STATIC_BAD

public static final MessageDescription METHOD_STATIC_BAD
Message of level 'error': Try to access the non static methods from a static context

CONSTRUCTOR_NOACCESS

public static final MessageDescription CONSTRUCTOR_NOACCESS
Message of level 'error': Cannot access constructor \"{0}\"

TRINARY_BADCOND

public static final MessageDescription TRINARY_BADCOND
Message of level 'error': Condition in trinary expression must be boolean

TRINARY_INCOMP

public static final MessageDescription TRINARY_INCOMP
Message of level 'error': Incompatible types in trinary expression

NEW_ABSTRACT

public static final MessageDescription NEW_ABSTRACT
Message of level 'error': Cannot create a new object of type \"{0}\" because it is an abstract class

NEW_INTERFACE

public static final MessageDescription NEW_INTERFACE
Message of level 'error': Cannot create a new object of type \"{0}\" because it is an interface

POSTFIX_BADTYPE

public static final MessageDescription POSTFIX_BADTYPE
Message of level 'error': Cannot apply postfix operator onto \"{0}\"

POSTFIX_NOTLVALUE

public static final MessageDescription POSTFIX_NOTLVALUE
Message of level 'error': Cannot apply postfix operator onto something that is not an lvalue

POSTFIX_NOTINITIALIZED

public static final MessageDescription POSTFIX_NOTINITIALIZED
Message of level 'error': Cannot apply postfix operator onto a variable that may not have been initialized

PREFIX_BADTYPE

public static final MessageDescription PREFIX_BADTYPE
Message of level 'error': Cannot apply prefix operator onto \"{0}\"

PREFIX_NOTLVALUE

public static final MessageDescription PREFIX_NOTLVALUE
Message of level 'error': Cannot apply prefix operator onto something that is not an lvalue

PREFIX_NOTINITIALIZED

public static final MessageDescription PREFIX_NOTINITIALIZED
Message of level 'error': Cannot apply prefix operator onto a variable that may not have been initialized

UNARY_BADTYPE_PM

public static final MessageDescription UNARY_BADTYPE_PM
Message of level 'error': Cannot apply unary operator + / - onto \"{0}\"

UNARY_BADTYPE_BNOT

public static final MessageDescription UNARY_BADTYPE_BNOT
Message of level 'error': Cannot apply unary operator ~ onto \"{0}\"

UNARY_BADTYPE_LNOT

public static final MessageDescription UNARY_BADTYPE_LNOT
Message of level 'error': Cannot apply unary operator ! onto \"{0}\"

EQUALITY_BADTYPE

public static final MessageDescription EQUALITY_BADTYPE
Message of level 'error': Cannot apply == operator onto \"{0}\" and \"{1}\"

RELATIONAL_TYPE

public static final MessageDescription RELATIONAL_TYPE
Message of level 'error': Cannot apply relational operator onto \"{0}\" and \"{1}\"

ADD_BADTYPE

public static final MessageDescription ADD_BADTYPE
Message of level 'error': Cannot add \"{0}\" and \"{1}\"

MULT_BADTYPE

public static final MessageDescription MULT_BADTYPE
Message of level 'error': Cannot multiply \"{0}\" and \"{1}\"

DIVIDE_BADTYPE

public static final MessageDescription DIVIDE_BADTYPE
Message of level 'error': Cannot divide \"{0}\" and \"{1}\"

MINUS_BADTYPE

public static final MessageDescription MINUS_BADTYPE
Message of level 'error': Cannot substract \"{0}\" and \"{1}\"

MODULO_BADTYPE

public static final MessageDescription MODULO_BADTYPE
Message of level 'error': Cannot apply % operator on \"{0}\" and \"{1}\"

BITWISE_BADTYPE

public static final MessageDescription BITWISE_BADTYPE
Message of level 'error': Cannot apply bitwise &, ^, | operators to \"{0}\" and \"{1}\"

SHIFT_BADTYPE

public static final MessageDescription SHIFT_BADTYPE
Message of level 'error': Cannot apply shift <<, >>, >>> operators to \"{0}\" and \"{1}\"

DIVIDE_BY_ZERO

public static final MessageDescription DIVIDE_BY_ZERO
Message of level 'error': Cannot divide a number by zero

AND_BADTYPE

public static final MessageDescription AND_BADTYPE
Message of level 'error': Cannot apply && operator to \"{0}\" and \"{1}\"

OR_BADTYPE

public static final MessageDescription OR_BADTYPE
Message of level 'error': Cannot apply || operator to \"{0}\" and \"{1}\"

CAST_CANT

public static final MessageDescription CAST_CANT
Message of level 'error': Cannot cast from \"{0}\" to \"{1}\"

RETURN_BADTYPE

public static final MessageDescription RETURN_BADTYPE
Message of level 'error': Type \"{0}\" cannot be returned as a \"{1}\"

RETURN_EMPTY_NONVOID

public static final MessageDescription RETURN_EMPTY_NONVOID
Message of level 'error': Return statement with no value in method returning non-void

RETURN_NONEMPTY_VOID

public static final MessageDescription RETURN_NONEMPTY_VOID
Message of level 'error': Return statement with a value in method returning void

INSTANCEOF_BADTYPE

public static final MessageDescription INSTANCEOF_BADTYPE
Message of level 'error': Cannot apply operator \"instanceof\" to \"{0}\" and \"{1}\"

ARRAY_NEW_NOSIZE

public static final MessageDescription ARRAY_NEW_NOSIZE
Message of level 'error': Array constructor with unsized brackets not allowed

ARRAY_EXPRESSION_INT

public static final MessageDescription ARRAY_EXPRESSION_INT
Message of level 'error': Array accessor must be ordinal but was \"{0}\"

ARRAY_PREFIX

public static final MessageDescription ARRAY_PREFIX
Message of level 'error': Array accessor prefix must be an array type but was \"{0}\"

ARRAY_BADTYPE

public static final MessageDescription ARRAY_BADTYPE
Message of level 'error': Array size must be ordinal but was \"{0}\"

ARRAY_INIT_BADARRAY

public static final MessageDescription ARRAY_INIT_BADARRAY
Message of level 'error': Array initializers must be of array type but were \"{0}\"

ARRAY_INIT_BADTYPE

public static final MessageDescription ARRAY_INIT_BADTYPE
Message of level 'error': Array initializers value must be assignable to \"{0}\" type but was \"{1}\"

ARRAY_LENGTH_BADTYPE

public static final MessageDescription ARRAY_LENGTH_BADTYPE
Message of level 'error': Try to access an array length on \"{0}\" which is not an array

THIS_BADACCESS

public static final MessageDescription THIS_BADACCESS
Message of level 'error': Can only apply \".this\" operator onto references

THIS_INVALID_OUTER

public static final MessageDescription THIS_INVALID_OUTER
Message of level 'error': Invalid outer class for this operation

BAD_THIS_STATIC

public static final MessageDescription BAD_THIS_STATIC
Message of level 'error': In this static context \"this\" is not accessible (no instance field or method)

TRY_UNREACHABLE

public static final MessageDescription TRY_UNREACHABLE
Message of level 'error': Exception \"{0}\" is already caught by previous catch

TRY_NOCATCH

public static final MessageDescription TRY_NOCATCH
Message of level 'error': A try statement must have at least one catch or finally block

TRY_CATCH_NOTHROW

public static final MessageDescription TRY_CATCH_NOTHROW
Message of level 'error': Cannot catch \"{0}\" that it is not thrown in the try statement

THROW_BADTYPE

public static final MessageDescription THROW_BADTYPE
Message of level 'error': Cannot throw \"{0}\" it does not inherit from \"java.lang.Throwable\"

CLASS_NOACCESS

public static final MessageDescription CLASS_NOACCESS
Message of level 'error': Cannot access class \"{0}\" it is in an other package and not a class member

FIELD_BADACCESS

public static final MessageDescription FIELD_BADACCESS
Message of level 'error': Cannot access fields on \"{0}\" that is not a class type

FIELD_UNKNOWN

public static final MessageDescription FIELD_UNKNOWN
Message of level 'error': Cannot find field \"{0}\"

FIELD_PRIVATE

public static final MessageDescription FIELD_PRIVATE
Message of level 'error': Cannot access private field \"{0}\"

FIELD_NOACCESS

public static final MessageDescription FIELD_NOACCESS
Message of level 'error': Cannot access field \"{0}\" it is in an other package and not a class member

FIELD_STATICERR

public static final MessageDescription FIELD_STATICERR
Message of level 'error': Cannot access non-static field \"{0}\" from static inner class

FIELD_NOSTATIC

public static final MessageDescription FIELD_NOSTATIC
Message of level 'error': Cannot access non-static field from a static method

FIELD_NOT_DECLARED_YET

public static final MessageDescription FIELD_NOT_DECLARED_YET
Message of level 'error': Cannot access field \"{0}\" that is not fully declared here

LITER_REAL_BAD

public static final MessageDescription LITER_REAL_BAD
Message of level 'error': \"{0}\" is not a float or double literal

LITER_FLOAT_BAD

public static final MessageDescription LITER_FLOAT_BAD
Message of level 'error': \"{0}\" is not a float literal

LITER_DOUBLE_BAD

public static final MessageDescription LITER_DOUBLE_BAD
Message of level 'error': \"{0}\" is not a double literal

LITER_FLOAT_RANGE

public static final MessageDescription LITER_FLOAT_RANGE
Message of level 'error': Float literal \"{0}\" is out of range

LITER_DOUBLE_RANGE

public static final MessageDescription LITER_DOUBLE_RANGE
Message of level 'error': Double literal \"{0}\" is out of range

LITER_INT_BAD

public static final MessageDescription LITER_INT_BAD
Message of level 'error': \"{0}\" is not a int literal

BAD_LOCAL_NOT_FINAL

public static final MessageDescription BAD_LOCAL_NOT_FINAL
Message of level 'error': Local variable \"{0}\" should be final to be used in inner class

BAD_SUPER_STATIC

public static final MessageDescription BAD_SUPER_STATIC
Message of level 'error': Bad usage of super in a static context

EQUALITY_TYPE

public static final MessageDescription EQUALITY_TYPE
Message of level 'error': Cannot compare \"{0}\" and \"{1}\"

INVALID_OCTAL_CHAR

public static final MessageDescription INVALID_OCTAL_CHAR
Message of level 'error': \"{0}\" is not a valid char constant [value should be <= 0377]

INVALID_ESCAPE_SEQUENCE

public static final MessageDescription INVALID_ESCAPE_SEQUENCE
Message of level 'error': \"{0}\" contains an invalid escape sequence

ENCLOSE_IF_ELSE_IN_BLOCK

public static final MessageDescription ENCLOSE_IF_ELSE_IN_BLOCK
Message of level 'warning(2)': Else part of if-statement should be enclosed in block statement

ENCLOSE_IF_THEN_IN_BLOCK

public static final MessageDescription ENCLOSE_IF_THEN_IN_BLOCK
Message of level 'warning(2)': Then part of if-statement should be enclosed in block statement

ENCLOSE_LOOP_BODY_IN_BLOCK

public static final MessageDescription ENCLOSE_LOOP_BODY_IN_BLOCK
Message of level 'warning(2)': Loop body should be enclosed in block statement

FIELD_RENAME_SUPER

public static final MessageDescription FIELD_RENAME_SUPER
Message of level 'warning(1)': Field \"{0}\" is already declared in a super class and is visible here

METHOD_UNCHECKED_EXCEPTION

public static final MessageDescription METHOD_UNCHECKED_EXCEPTION
Message of level 'warning(1)': Declared exception \"{0}\" is an unchecked exception

METHOD_UNTHROWN_EXCEPTION

public static final MessageDescription METHOD_UNTHROWN_EXCEPTION
Message of level 'warning(1)': Declared exception \"{0}\" is never thrown

OLD_STYLE_ARRAY_BOUNDS

public static final MessageDescription OLD_STYLE_ARRAY_BOUNDS
Message of level 'warning(3)': Old style array bound declaration

REPLACE_PACKAGE_IMPORT

public static final MessageDescription REPLACE_PACKAGE_IMPORT
Message of level 'notice': Replace package import \"{0}\" by import of class(es) \"{1}\"

SELF_ASSIGNMENT

public static final MessageDescription SELF_ASSIGNMENT
Message of level 'warning(1)': Assignment of an expression to itself

STRAY_COMMA

public static final MessageDescription STRAY_COMMA
Message of level 'warning(2)': Stray comma

STRAY_SEMICOLON

public static final MessageDescription STRAY_SEMICOLON
Message of level 'warning(3)': Stray semicolon

UNNECESSARY_CAST

public static final MessageDescription UNNECESSARY_CAST
Message of level 'warning(2)': Type \"{0}\" does not need to be casted into \"{1}\"

UNNECESSARY_INSTANCEOF

public static final MessageDescription UNNECESSARY_INSTANCEOF
Message of level 'warning(1)': Instanceof evaluation is not necessary

UNUSED_CATCH_PARAMETER

public static final MessageDescription UNUSED_CATCH_PARAMETER
Message of level 'warning(3)': Catch parameter \"{0}\" is not used

UNUSED_CLASS_IMPORT

public static final MessageDescription UNUSED_CLASS_IMPORT
Message of level 'warning(3)': Imported class \"{0}\" is not used

UNUSED_LOCALVAR

public static final MessageDescription UNUSED_LOCALVAR
Message of level 'warning(1)': Local variable \"{0}\" is not used

UNUSED_PACKAGE_IMPORT

public static final MessageDescription UNUSED_PACKAGE_IMPORT
Message of level 'warning(1)': Imported package \"{0}\" is not used

UNUSED_PARAMETER

public static final MessageDescription UNUSED_PARAMETER
Message of level 'warning(3)': Parameter \"{0}\" is not used

UNUSED_PRIVATE_FIELD

public static final MessageDescription UNUSED_PRIVATE_FIELD
Message of level 'warning(1)': Private field \"{0}\" is not used

UNUSED_PRIVATE_METHOD

public static final MessageDescription UNUSED_PRIVATE_METHOD
Message of level 'warning(1)': Private method \"{0}\" is not used

UNUSED_LABEL

public static final MessageDescription UNUSED_LABEL
Message of level 'warning(1)': Label \"{0}\" is not used

IMPORT_JAVA_LANG

public static final MessageDescription IMPORT_JAVA_LANG
Message of level 'warning(2)': On-Demand-Import of package java.lang is not necessary

PACKAGE_IS_MISSING

public static final MessageDescription PACKAGE_IS_MISSING
Message of level 'notice': There is no package declaration for this compilation unit

IMPORT_CURRENT_PACKAGE

public static final MessageDescription IMPORT_CURRENT_PACKAGE
Message of level 'warning(2)': On-Demand-Import of current package is not necessary

SWITCH_NO_DEFAULT

public static final MessageDescription SWITCH_NO_DEFAULT
Message of level 'warning(2)': There is no default label in switch statement

EMPTY_CATCH_BLOCK

public static final MessageDescription EMPTY_CATCH_BLOCK
Message of level 'warning(1)': Catch block is empty

STRING_COMPARISON

public static final MessageDescription STRING_COMPARISON
Message of level 'warning(1)': Comparison of strings with '==' operator

ASSIGNMENT_IN_CONDITION

public static final MessageDescription ASSIGNMENT_IN_CONDITION
Message of level 'warning(1)': Assignment operator may have been used in place of equality operator

CASE_FALL_THROUGH

public static final MessageDescription CASE_FALL_THROUGH
Message of level 'warning(2)': Fall through is dangerous and should not be used

CONSTANT_VARIABLE_NOT_FINAL

public static final MessageDescription CONSTANT_VARIABLE_NOT_FINAL
Message of level 'notice': Local variable \"{0}\" is constant and should be declared final

PACKAGE_PROTECTED_ATTRIBUTE

public static final MessageDescription PACKAGE_PROTECTED_ATTRIBUTE
Message of level 'notice': Field \"{0}\" should be declared private or public

DUPLICATE_MODIFIER

public static final MessageDescription DUPLICATE_MODIFIER
Message of level 'error': Modifier \"{0}\" appears more than once in declaration

MULTIPLE_ACCESS_MODIFIERS

public static final MessageDescription MULTIPLE_ACCESS_MODIFIERS
Message of level 'error': More than one of these modifiers appears in the declaration: 'public', 'private', 'protected'

INVALID_CLASS_MODIFIERS

public static final MessageDescription INVALID_CLASS_MODIFIERS
Message of level 'error': Invalid modifiers for class definition

INVALID_INTERFACE_MODIFIERS

public static final MessageDescription INVALID_INTERFACE_MODIFIERS
Message of level 'error': Invalid modifiers for interface definition

MODIFIERS_ABSTRACT_AND_FINAL

public static final MessageDescription MODIFIERS_ABSTRACT_AND_FINAL
Message of level 'error': Modifiers 'abstract' and 'final' cannot appear together in a declaration

MODIFIER_ORDER

public static final MessageDescription MODIFIER_ORDER
Message of level 'notice': Modifiers appear in non-standard order [{0}]

INSTANCE_PREFIXES_STATIC_METHOD

public static final MessageDescription INSTANCE_PREFIXES_STATIC_METHOD
Message of level 'warning(2)': Avoid using an instance to access a class (static) method; use a class name instead

INSTANCE_PREFIXES_STATIC_FIELD

public static final MessageDescription INSTANCE_PREFIXES_STATIC_FIELD
Message of level 'warning(2)': Avoid using an instance to access a class (static) field; use a class name instead

COMPARING_BOOLEAN_CONSTANT

public static final MessageDescription COMPARING_BOOLEAN_CONSTANT
Message of level 'warning(2)': Comparing boolean expression to constant values is not necessary

ASSIGNS_LOOP_VARIABLE

public static final MessageDescription ASSIGNS_LOOP_VARIABLE
Message of level 'warning(2)': Assignment of loop variable \"{0}\" inside loop body

UNINITIALIZED_FIELD

public static final MessageDescription UNINITIALIZED_FIELD
Message of level 'notice': Field \"{0}\" may have not been explicitely initialized

UNUSED_RETURN_VALUE_FROM_FUNCTION_CALL

public static final MessageDescription UNUSED_RETURN_VALUE_FROM_FUNCTION_CALL
Message of level 'warning(3)': The method \"{0}\" returns a value that is not used

FINAL_FIELD_IMPLICITLY_STATIC

public static final MessageDescription FINAL_FIELD_IMPLICITLY_STATIC
Message of level 'warning(3)': Field \"{0}\" is implicitly static: it has the same value for each instance

INTERFACE_IMPLEMENTED_BY_SUPERCLASS

public static final MessageDescription INTERFACE_IMPLEMENTED_BY_SUPERCLASS
Message of level 'warning(2)': Interface \"{0}\" already implemented/extended by superclass/interface \"{1}\"

NARROWING_COMPOUND_ASSIGNMENT

public static final MessageDescription NARROWING_COMPOUND_ASSIGNMENT
Message of level 'warning(2)': Implicit narrowing conversion occurs in compound assignment
Constructor Detail

KjcMessages

public KjcMessages()