Java org.eclipse.jdt.core.compiler IProblem fields, constructors, methods, implement or subclass

Example usage for Java org.eclipse.jdt.core.compiler IProblem fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.eclipse.jdt.core.compiler IProblem.

The text is from its open source code.

Implementation

org.eclipse.jdt.core.compiler.IProblem has the following implementations.
Click this link to see all its implementation.

Field

intTypeRelated
Problem Categories The high bits of a problem ID contains information about the category of a problem.
intFieldRelated
intMethodRelated
intConstructorRelated
intImportRelated
intInternal
intSyntax
intJavadoc
intIgnoreCategoriesMask
Mask to use in order to filter out the category portion of the problem ID.
intUnclassified
ID reserved for referencing an internal error inside the JavaCore implementation which may be surfaced as a problem associated with the compilation unit which caused it to occur.
intUndefinedType
intNotVisibleType
intAmbiguousType
intInternalTypeNameProvided
intUnusedPrivateType
intIncompatibleTypesInConditionalOperator
intTypeMismatch
intReturnTypeMismatch
intOuterLocalMustBeFinal
intAnonymousClassCannotExtendFinalClass
intUndefinedName
intUninitializedLocalVariable
intRedefinedLocal
intRedefinedArgument
intDuplicateFinalLocalInitialization
intNonBlankFinalLocalAssignment
intLocalVariableIsNeverUsed
intArgumentIsNeverUsed
intUndefinedField
intNotVisibleField
intNonStaticFieldFromStaticInvocation
intNonStaticAccessToStaticField
intUnusedPrivateField
intIndirectAccessToStaticField
intUnqualifiedFieldAccess
intFinalFieldAssignment
intUninitializedBlankFinalField
intDuplicateBlankFinalFieldInitialization
intUnresolvedVariable
intLocalVariableHidingLocalVariable
intLocalVariableHidingField
intFieldHidingLocalVariable
intFieldHidingField
intArgumentHidingLocalVariable
intArgumentHidingField
intMissingSerialVersion
intUndefinedMethod
intNotVisibleMethod
intVoidMethodReturnsValue
intMethodReturnsVoid
intMethodRequiresBody
intShouldReturnValue
intMethodButWithConstructorName
intMissingReturnType
intBodyForNativeMethod
intBodyForAbstractMethod
intParameterMismatch
intNoMessageSendOnArrayType
intNonStaticAccessToStaticMethod
intUnusedPrivateMethod
intIndirectAccessToStaticMethod
intMissingTypeInMethod
intMissingTypeInConstructor
intUndefinedConstructor
intNotVisibleConstructor
intUnusedPrivateConstructor
intInstanceFieldDuringConstructorInvocation
intInstanceMethodDuringConstructorInvocation
intInvalidExplicitConstructorCall
intUndefinedConstructorInDefaultConstructor
intNotVisibleConstructorInDefaultConstructor
intUnhandledExceptionInDefaultConstructor
intUnhandledExceptionInImplicitConstructorCall
intNonConstantExpression
intIllegalCast
intInvalidOperator
intCodeCannotBeReached
intUnreachableCatch
intUnhandledException
intAssignmentHasNoEffect
intSuperfluousSemicolon
intUnnecessaryCast
intUnnecessaryInstanceof
intUnusedMethodDeclaredThrownException
intUnusedConstructorDeclaredThrownException
intInvalidCatchBlockSequence
intUnnecessaryElse
intNeedToEmulateFieldReadAccess
intNeedToEmulateFieldWriteAccess
intNeedToEmulateMethodAccess
intNeedToEmulateConstructorAccess
intFallthroughCase
intStaticMethodRequested
intParsingError
intUnmatchedBracket
intParsingErrorInsertTokenAfter
intParsingErrorDeleteToken
intParsingErrorDeleteTokens
intParsingErrorMergeTokens
intParsingErrorInvalidToken
intParsingErrorReplaceTokens
intParsingErrorInsertToComplete
intUnterminatedString
intNonExternalizedStringLiteral
intUnnecessaryNLSTag
intDiscouragedReference
intIllegalModifierForClass
intIllegalModifierForInterface
intIllegalModifierForMemberClass
intIllegalModifierForMemberInterface
intIllegalModifierForLocalClass
intForbiddenReference
intIllegalVisibilityModifierForInterfaceMemberType
intSuperclassMustBeAClass
intClassExtendFinalClass
intHidingEnclosingType
intDuplicateTypes
intIsClassPathCorrect
intPublicClassMustMatchFileName
intHierarchyHasProblems
intPackageIsNotExpectedPackage
intAbstractMethodsInConcreteClass
intDuplicateField
intIllegalModifierForField
intIllegalModifierForInterfaceField
intDuplicateMethod
intIllegalModifierForArgument
intIllegalModifierForMethod
intIllegalModifierForInterfaceMethod
intUnexpectedStaticModifierForMethod
intIllegalAbstractModifierCombinationForMethod
intAbstractMethodInAbstractClass
intConflictingImport
intDuplicateImport
intCannotImportPackage
intUnusedImport
intImportNotFound
intImportNotVisible
intIllegalModifierForVariable
intAbstractMethodMustBeImplemented
intFinalMethodCannotBeOverridden
intIncompatibleExceptionInThrowsClause
intIncompatibleReturnType
intInheritedMethodReducesVisibility
intCannotOverrideAStaticMethodWithAnInstanceMethod
intCannotHideAnInstanceMethodWithAStaticMethod
intMethodReducesVisibility
intOverridingNonVisibleMethod
intUseAssertAsAnIdentifier
intUseEnumAsAnIdentifier
intTask
intNullLocalVariableReference
intPotentialNullLocalVariableReference
intRedundantNullCheckOnNonNullLocalVariable
intNonNullLocalVariableComparisonYieldsFalse
intJavadocUnexpectedTag
intJavadocMissingParamTag
intJavadocDuplicateParamName
intJavadocInvalidParamName
intJavadocMissingReturnTag
intJavadocDuplicateReturnTag
intJavadocMissingThrowsTag
intJavadocDuplicateThrowsClassName
intJavadocInvalidThrowsClassName
intJavadocMissing
intJavadocInvalidTag
intJavadocUndefinedType
intJavadocNotVisibleType
intJavadocAmbiguousType
intNonGenericType
intUnsafeRawMethodInvocation
intUnsafeTypeConversion
intMethodNameClash
intRawTypeReference
intInvalidTypeForCollection
intInvalidTypeForCollectionTarget14
intInvalidUsageOfTypeParameters
intInvalidUsageOfStaticImports
intInvalidUsageOfForeachStatements
intInvalidUsageOfTypeArguments
intInvalidUsageOfEnumDeclarations
intInvalidUsageOfVarargs
intInvalidUsageOfAnnotations
intInvalidUsageOfAnnotationDeclarations
intMissingValueForAnnotationMember
intUndefinedAnnotationMember
intMissingOverrideAnnotation
intFieldMissingDeprecatedAnnotation
intMethodMissingDeprecatedAnnotation
intTypeMissingDeprecatedAnnotation
intUnhandledWarningToken
intVarargsConflict
intExternalProblemNotFixable
intExternalProblemFixable
intMissingNonNullByDefaultAnnotationOnPackage

Method

String[]getArguments()
Answer back the original arguments recorded into the problem.
intgetID()
Returns the problem id
StringgetMessage()
Answer a localized, human-readable message string which describes the problem.
char[]getOriginatingFileName()
Answer the file name in which the problem was found.
intgetSourceEnd()
Answer the end position of the problem (inclusive), or -1 if unknown.
intgetSourceLineNumber()
Answer the line number in source where the problem begins.
intgetSourceStart()
Answer the start position of the problem (inclusive), or -1 if unknown.
booleanisError()
Returns whether the severity of this problem is 'Error'.
booleanisWarning()
Returns whether the severity of this problem is 'Warning'.