public String toString() { StringBuffer buffer = new StringBuffer(10); buffer.append("MethodVerifier for type: "); //$NON-NLS-1$ buffer.append(this.type.readableName()); buffer.append('\n'); buffer.append("\t-inherited methods: "); //$NON-NLS-1$ buffer.append(this.inheritedMethods); return buffer.toString(); } }
@Override public String toString() { StringBuffer buffer = new StringBuffer(10); buffer.append("MethodVerifier for type: "); //$NON-NLS-1$ buffer.append(this.type.readableName()); buffer.append('\n'); buffer.append("\t-inherited methods: "); //$NON-NLS-1$ buffer.append(this.inheritedMethods); return buffer.toString(); } }
public void tooManyFields(TypeDeclaration typeDeclaration) { this.handle( IProblem.TooManyFields, new String[]{ new String(typeDeclaration.binding.readableName())}, new String[]{ new String(typeDeclaration.binding.shortReadableName())}, ProblemSeverities.Abort | ProblemSeverities.Error | ProblemSeverities.Fatal, typeDeclaration.sourceStart, typeDeclaration.sourceEnd); } public void tooManyMethods(TypeDeclaration typeDeclaration) {
public void tooManyFields(TypeDeclaration typeDeclaration) { this.handle( IProblem.TooManyFields, new String[]{ new String(typeDeclaration.binding.readableName())}, new String[]{ new String(typeDeclaration.binding.shortReadableName())}, ProblemSeverities.Abort | ProblemSeverities.Error | ProblemSeverities.Fatal, typeDeclaration.sourceStart, typeDeclaration.sourceEnd); } public void tooManyMethods(TypeDeclaration typeDeclaration) {
public void tooManyMethods(TypeDeclaration typeDeclaration) { this.handle( IProblem.TooManyMethods, new String[]{ new String(typeDeclaration.binding.readableName())}, new String[]{ new String(typeDeclaration.binding.shortReadableName())}, ProblemSeverities.Abort | ProblemSeverities.Error | ProblemSeverities.Fatal, typeDeclaration.sourceStart, typeDeclaration.sourceEnd); } public void tooManyParametersForSyntheticMethod(AbstractMethodDeclaration method) {
public void noMoreAvailableSpaceForConstant(TypeDeclaration typeDeclaration) { this.handle( IProblem.TooManyBytesForStringConstant, new String[]{ new String(typeDeclaration.binding.readableName())}, new String[]{ new String(typeDeclaration.binding.shortReadableName())}, ProblemSeverities.Abort | ProblemSeverities.Error | ProblemSeverities.Fatal, typeDeclaration.sourceStart, typeDeclaration.sourceEnd); }
public void noMoreAvailableSpaceInConstantPool(TypeDeclaration typeDeclaration) { this.handle( IProblem.TooManyConstantsInConstantPool, new String[]{ new String(typeDeclaration.binding.readableName())}, new String[]{ new String(typeDeclaration.binding.shortReadableName())}, ProblemSeverities.Abort | ProblemSeverities.Error | ProblemSeverities.Fatal, typeDeclaration.sourceStart, typeDeclaration.sourceEnd); }
public void tooManyFields(TypeDeclaration typeDeclaration) { this.handle( IProblem.TooManyFields, new String[]{ new String(typeDeclaration.binding.readableName())}, new String[]{ new String(typeDeclaration.binding.shortReadableName())}, ProblemSeverities.Abort | ProblemSeverities.Error | ProblemSeverities.Fatal, typeDeclaration.sourceStart, typeDeclaration.sourceEnd); } public void tooManyMethods(TypeDeclaration typeDeclaration) {
public void noMoreAvailableSpaceInConstantPool(TypeDeclaration typeDeclaration) { this.handle( IProblem.TooManyConstantsInConstantPool, new String[]{ new String(typeDeclaration.binding.readableName())}, new String[]{ new String(typeDeclaration.binding.shortReadableName())}, ProblemSeverities.Abort | ProblemSeverities.Error | ProblemSeverities.Fatal, typeDeclaration.sourceStart, typeDeclaration.sourceEnd); }
public void noMoreAvailableSpaceForConstant(TypeDeclaration typeDeclaration) { this.handle( IProblem.TooManyBytesForStringConstant, new String[]{ new String(typeDeclaration.binding.readableName())}, new String[]{ new String(typeDeclaration.binding.shortReadableName())}, ProblemSeverities.Abort | ProblemSeverities.Error | ProblemSeverities.Fatal, typeDeclaration.sourceStart, typeDeclaration.sourceEnd); }
public void tooManyMethods(TypeDeclaration typeDeclaration) { this.handle( IProblem.TooManyMethods, new String[]{ new String(typeDeclaration.binding.readableName())}, new String[]{ new String(typeDeclaration.binding.shortReadableName())}, ProblemSeverities.Abort | ProblemSeverities.Error | ProblemSeverities.Fatal, typeDeclaration.sourceStart, typeDeclaration.sourceEnd); } public void tooManyParametersForSyntheticMethod(AbstractMethodDeclaration method) {
public void noMoreAvailableSpaceForConstant(TypeDeclaration typeDeclaration) { this.handle( IProblem.TooManyBytesForStringConstant, new String[]{ new String(typeDeclaration.binding.readableName())}, new String[]{ new String(typeDeclaration.binding.shortReadableName())}, ProblemSeverities.Abort | ProblemSeverities.Error | ProblemSeverities.Fatal, typeDeclaration.sourceStart, typeDeclaration.sourceEnd); }
public void noMoreAvailableSpaceForConstant(TypeDeclaration typeDeclaration) { this.handle( IProblem.TooManyBytesForStringConstant, new String[]{ new String(typeDeclaration.binding.readableName())}, new String[]{ new String(typeDeclaration.binding.shortReadableName())}, ProblemSeverities.Abort | ProblemSeverities.Error | ProblemSeverities.Fatal, typeDeclaration.sourceStart, typeDeclaration.sourceEnd); }
public void noMoreAvailableSpaceForConstant(TypeDeclaration typeDeclaration) { this.handle( IProblem.TooManyBytesForStringConstant, new String[]{ new String(typeDeclaration.binding.readableName())}, new String[]{ new String(typeDeclaration.binding.shortReadableName())}, ProblemSeverities.Abort | ProblemSeverities.Error | ProblemSeverities.Fatal, typeDeclaration.sourceStart, typeDeclaration.sourceEnd); }
public void tooManyFields(TypeDeclaration typeDeclaration) { this.handle( IProblem.TooManyFields, new String[]{ new String(typeDeclaration.binding.readableName())}, new String[]{ new String(typeDeclaration.binding.shortReadableName())}, ProblemSeverities.Abort | ProblemSeverities.Error | ProblemSeverities.Fatal, typeDeclaration.sourceStart, typeDeclaration.sourceEnd); } public void tooManyMethods(TypeDeclaration typeDeclaration) {
public void genericTypeCannotExtendThrowable(TypeDeclaration typeDecl) { ASTNode location = typeDecl.binding.isAnonymousType() ? typeDecl.allocation.type : typeDecl.superclass; this.handle( IProblem.GenericTypeCannotExtendThrowable, new String[]{ new String(typeDecl.binding.readableName()) }, new String[]{ new String(typeDecl.binding.shortReadableName()) }, location.sourceStart, location.sourceEnd); } // use this private API when the compilation unit result can be found through the
public void genericTypeCannotExtendThrowable(TypeDeclaration typeDecl) { ASTNode location = typeDecl.binding.isAnonymousType() ? typeDecl.allocation.type : typeDecl.superclass; this.handle( IProblem.GenericTypeCannotExtendThrowable, new String[]{ new String(typeDecl.binding.readableName()) }, new String[]{ new String(typeDecl.binding.shortReadableName()) }, location.sourceStart, location.sourceEnd); } // use this private API when the compilation unit result can be found through the
@Nullable private static String getFqn(@NonNull ClassScope scope) { TypeDeclaration typeDeclaration = scope.referenceType(); if (typeDeclaration != null && typeDeclaration.binding != null) { return new String(typeDeclaration.binding.readableName()); } return null; }
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) {