public final int sourceStart() { AbstractMethodDeclaration method = sourceMethod(); if (method == null) { if (this.declaringClass instanceof SourceTypeBinding) return ((SourceTypeBinding) this.declaringClass).sourceStart(); return 0; } return method.sourceStart; }
public final int sourceStart() { if (!isPrototype()) return this.prototype.sourceStart(); return this.scope.referenceContext.sourceStart; } SimpleLookupTable storedAnnotations(boolean forceInitialize) {
public final int sourceStart() { AbstractMethodDeclaration method = sourceMethod(); if (method == null) { if (this.declaringClass instanceof SourceTypeBinding) return ((SourceTypeBinding) this.declaringClass).sourceStart(); return 0; } return method.sourceStart; }
public void objectMustBeClass(SourceTypeBinding type) { this.handle( IProblem.ObjectMustBeClass, NoArgument, NoArgument, type.sourceStart(), type.sourceEnd()); } public void operatorOnlyValidOnNumericType(CompoundAssignment assignment, TypeBinding leftType, TypeBinding rightType) {
public void objectCannotHaveSuperTypes(SourceTypeBinding type) { this.handle( IProblem.ObjectCannotHaveSuperTypes, NoArgument, NoArgument, type.sourceStart(), type.sourceEnd()); } public void objectMustBeClass(SourceTypeBinding type) {
public void illegalModifierCombinationFinalAbstractForClass(SourceTypeBinding type) { String[] arguments = new String[] {new String(type.sourceName())}; this.handle( IProblem.IllegalModifierCombinationFinalAbstractForClass, arguments, arguments, type.sourceStart(), type.sourceEnd()); } public void illegalModifierCombinationFinalVolatileForField(ReferenceBinding type, FieldDeclaration fieldDecl) {
public void illegalModifierForAnnotationMemberType(SourceTypeBinding type) { String[] arguments = new String[] {new String(type.sourceName())}; this.handle( IProblem.IllegalModifierForAnnotationMemberType, arguments, arguments, type.sourceStart(), type.sourceEnd()); } public void illegalModifierForAnnotationType(SourceTypeBinding type) {
public void illegalModifierForMemberInterface(SourceTypeBinding type) { String[] arguments = new String[] {new String(type.sourceName())}; this.handle( IProblem.IllegalModifierForMemberInterface, arguments, arguments, type.sourceStart(), type.sourceEnd()); } public void illegalModifierForMethod(AbstractMethodDeclaration methodDecl) {
public void illegalStaticModifierForMemberType(SourceTypeBinding type) { String[] arguments = new String[] {new String(type.sourceName())}; this.handle( IProblem.IllegalStaticModifierForMemberType, arguments, arguments, type.sourceStart(), type.sourceEnd()); } public void illegalUsageOfQualifiedTypeReference(QualifiedTypeReference qualifiedTypeReference) {
public void nonStaticContextForEnumMemberType(SourceTypeBinding type) { String[] arguments = new String[] {new String(type.sourceName())}; this.handle( IProblem.NonStaticContextForEnumMemberType, arguments, arguments, type.sourceStart(), type.sourceEnd()); } public void noSuchEnclosingInstance(TypeBinding targetType, ASTNode location, boolean isConstructorCall) {
public void illegalModifierForInterface(SourceTypeBinding type) { String[] arguments = new String[] {new String(type.sourceName())}; this.handle( IProblem.IllegalModifierForInterface, arguments, arguments, type.sourceStart(), type.sourceEnd()); }
public void illegalModifierCombinationFinalAbstractForClass(SourceTypeBinding type) { String[] arguments = new String[] {new String(type.sourceName())}; this.handle( IProblem.IllegalModifierCombinationFinalAbstractForClass, arguments, arguments, type.sourceStart(), type.sourceEnd()); } public void illegalModifierCombinationFinalVolatileForField(ReferenceBinding type, FieldDeclaration fieldDecl) {
public void illegalModifierForMemberInterface(SourceTypeBinding type) { String[] arguments = new String[] {new String(type.sourceName())}; this.handle( IProblem.IllegalModifierForMemberInterface, arguments, arguments, type.sourceStart(), type.sourceEnd()); } public void illegalModifierForMethod(AbstractMethodDeclaration methodDecl) {
public void illegalStaticModifierForMemberType(SourceTypeBinding type) { String[] arguments = new String[] {new String(type.sourceName())}; this.handle( IProblem.IllegalStaticModifierForMemberType, arguments, arguments, type.sourceStart(), type.sourceEnd()); } public void illegalUsageOfQualifiedTypeReference(QualifiedTypeReference qualifiedTypeReference) {
public void duplicateModifierForType(SourceTypeBinding type) { String[] arguments = new String[] {new String(type.sourceName())}; this.handle( IProblem.DuplicateModifierForType, arguments, arguments, type.sourceStart(), type.sourceEnd()); } public void duplicateModifierForVariable(LocalDeclaration localDecl, boolean complainForArgument) {
public void hierarchyHasProblems(SourceTypeBinding type) { String[] arguments = new String[] {new String(type.sourceName())}; this.handle( IProblem.HierarchyHasProblems, arguments, arguments, type.sourceStart(), type.sourceEnd()); } public void illegalAbstractModifierCombinationForMethod(ReferenceBinding type, AbstractMethodDeclaration methodDecl) {
public void illegalModifierForClass(SourceTypeBinding type) { String[] arguments = new String[] {new String(type.sourceName())}; this.handle( IProblem.IllegalModifierForClass, arguments, arguments, type.sourceStart(), type.sourceEnd()); } public void illegalModifierForModule(ModuleDeclaration module) {
public void nonStaticContextForEnumMemberType(SourceTypeBinding type) { String[] arguments = new String[] {new String(type.sourceName())}; this.handle( IProblem.NonStaticContextForEnumMemberType, arguments, arguments, type.sourceStart(), type.sourceEnd()); } public void noSuchEnclosingInstance(TypeBinding targetType, ASTNode location, boolean isConstructorCall) {
public void shouldImplementHashcode(SourceTypeBinding type) { this.handle( IProblem.ShouldImplementHashcode, new String[] {new String(type.readableName())}, new String[] {new String(type.shortReadableName())}, type.sourceStart(), type.sourceEnd()); } public void shouldReturn(TypeBinding returnType, ASTNode location) {
public void shouldImplementHashcode(SourceTypeBinding type) { this.handle( IProblem.ShouldImplementHashcode, new String[] {new String(type.readableName())}, new String[] {new String(type.shortReadableName())}, type.sourceStart(), type.sourceEnd()); } public void shouldReturn(TypeBinding returnType, ASTNode location) {