public void abstractMethodInAbstractClass(SourceTypeBinding type, AbstractMethodDeclaration methodDecl) { if (type.isEnum() && type.isLocalType()) { FieldBinding field = type.scope.enclosingMethodScope().initializedField; FieldDeclaration decl = field.sourceField(); String[] arguments = new String[] {new String(decl.name), new String(methodDecl.selector)}; this.handle( IProblem.AbstractMethodInEnum, arguments, arguments, methodDecl.sourceStart, methodDecl.sourceEnd); } else { String[] arguments = new String[] {new String(type.sourceName()), new String(methodDecl.selector)}; this.handle( IProblem.AbstractMethodInAbstractClass, arguments, arguments, methodDecl.sourceStart, methodDecl.sourceEnd); } } public void abstractMethodInConcreteClass(SourceTypeBinding type) {
public void abstractMethodInAbstractClass(SourceTypeBinding type, AbstractMethodDeclaration methodDecl) { if (type.isEnum() && type.isLocalType()) { FieldBinding field = type.scope.enclosingMethodScope().initializedField; FieldDeclaration decl = field.sourceField(); String[] arguments = new String[] {new String(decl.name), new String(methodDecl.selector)}; this.handle( IProblem.AbstractMethodInEnum, arguments, arguments, methodDecl.sourceStart, methodDecl.sourceEnd); } else { String[] arguments = new String[] {new String(type.sourceName()), new String(methodDecl.selector)}; this.handle( IProblem.AbstractMethodInAbstractClass, arguments, arguments, methodDecl.sourceStart, methodDecl.sourceEnd); } } public void abstractMethodInConcreteClass(SourceTypeBinding type) {
public void abstractMethodInAbstractClass(SourceTypeBinding type, AbstractMethodDeclaration methodDecl) { if (type.isEnum() && type.isLocalType()) { FieldBinding field = type.scope.enclosingMethodScope().initializedField; FieldDeclaration decl = field.sourceField(); String[] arguments = new String[] {new String(decl.name), new String(methodDecl.selector)}; this.handle( IProblem.AbstractMethodInEnum, arguments, arguments, methodDecl.sourceStart, methodDecl.sourceEnd); } else { String[] arguments = new String[] {new String(type.sourceName()), new String(methodDecl.selector)}; this.handle( IProblem.AbstractMethodInAbstractClass, arguments, arguments, methodDecl.sourceStart, methodDecl.sourceEnd); } } public void abstractMethodInConcreteClass(SourceTypeBinding type) {
public void abstractMethodInAbstractClass(SourceTypeBinding type, AbstractMethodDeclaration methodDecl) { if (type.isEnum() && type.isLocalType()) { FieldBinding field = type.scope.enclosingMethodScope().initializedField; FieldDeclaration decl = field.sourceField(); String[] arguments = new String[] {new String(decl.name), new String(methodDecl.selector)}; this.handle( IProblem.AbstractMethodInEnum, arguments, arguments, methodDecl.sourceStart, methodDecl.sourceEnd); } else { String[] arguments = new String[] {new String(type.sourceName()), new String(methodDecl.selector)}; this.handle( IProblem.AbstractMethodInAbstractClass, arguments, arguments, methodDecl.sourceStart, methodDecl.sourceEnd); } } public void abstractMethodInConcreteClass(SourceTypeBinding type) {
public void abstractMethodInAbstractClass(SourceTypeBinding type, AbstractMethodDeclaration methodDecl) { if (type.isEnum() && type.isLocalType()) { FieldBinding field = type.scope.enclosingMethodScope().initializedField; FieldDeclaration decl = field.sourceField(); String[] arguments = new String[] {new String(decl.name), new String(methodDecl.selector)}; this.handle( IProblem.AbstractMethodInEnum, arguments, arguments, methodDecl.sourceStart, methodDecl.sourceEnd); } else { String[] arguments = new String[] {new String(type.sourceName()), new String(methodDecl.selector)}; this.handle( IProblem.AbstractMethodInAbstractClass, arguments, arguments, methodDecl.sourceStart, methodDecl.sourceEnd); } } public void abstractMethodInConcreteClass(SourceTypeBinding type) {
public void abstractMethodInAbstractClass(SourceTypeBinding type, AbstractMethodDeclaration methodDecl) { if (type.isEnum() && type.isLocalType()) { FieldBinding field = type.scope.enclosingMethodScope().initializedField; FieldDeclaration decl = field.sourceField(); String[] arguments = new String[] {new String(decl.name), new String(methodDecl.selector)}; this.handle( IProblem.AbstractMethodInEnum, arguments, arguments, methodDecl.sourceStart, methodDecl.sourceEnd); } else { String[] arguments = new String[] {new String(type.sourceName()), new String(methodDecl.selector)}; this.handle( IProblem.AbstractMethodInAbstractClass, arguments, arguments, methodDecl.sourceStart, methodDecl.sourceEnd); } } public void abstractMethodInConcreteClass(SourceTypeBinding type) {
public void abstractMethodInAbstractClass(SourceTypeBinding type, AbstractMethodDeclaration methodDecl) { if (type.isEnum() && type.isLocalType()) { FieldBinding field = type.scope.enclosingMethodScope().initializedField; FieldDeclaration decl = field.sourceField(); String[] arguments = new String[] {new String(decl.name), new String(methodDecl.selector)}; this.handle( IProblem.AbstractMethodInEnum, arguments, arguments, methodDecl.sourceStart, methodDecl.sourceEnd); } else { String[] arguments = new String[] {new String(type.sourceName()), new String(methodDecl.selector)}; this.handle( IProblem.AbstractMethodInAbstractClass, arguments, arguments, methodDecl.sourceStart, methodDecl.sourceEnd); } } public void abstractMethodInConcreteClass(SourceTypeBinding type) {
public void abstractMethodInAbstractClass(SourceTypeBinding type, AbstractMethodDeclaration methodDecl) { if (type.isEnum() && type.isLocalType()) { FieldBinding field = type.scope.enclosingMethodScope().initializedField; FieldDeclaration decl = field.sourceField(); String[] arguments = new String[] {new String(decl.name), new String(methodDecl.selector)}; this.handle( IProblem.AbstractMethodInEnum, arguments, arguments, methodDecl.sourceStart, methodDecl.sourceEnd); } else { String[] arguments = new String[] {new String(type.sourceName()), new String(methodDecl.selector)}; this.handle( IProblem.AbstractMethodInAbstractClass, arguments, arguments, methodDecl.sourceStart, methodDecl.sourceEnd); } } public void abstractMethodInConcreteClass(SourceTypeBinding type) {
public void abstractMethodInAbstractClass(SourceTypeBinding type, AbstractMethodDeclaration methodDecl) { if (type.isEnum() && type.isLocalType()) { FieldBinding field = type.scope.enclosingMethodScope().initializedField; FieldDeclaration decl = field.sourceField(); String[] arguments = new String[] {new String(decl.name), new String(methodDecl.selector)}; this.handle( IProblem.AbstractMethodInEnum, arguments, arguments, methodDecl.sourceStart, methodDecl.sourceEnd); } else { String[] arguments = new String[] {new String(type.sourceName()), new String(methodDecl.selector)}; this.handle( IProblem.AbstractMethodInAbstractClass, arguments, arguments, methodDecl.sourceStart, methodDecl.sourceEnd); } } public void abstractMethodInConcreteClass(SourceTypeBinding type) {
public void abstractMethodInAbstractClass(SourceTypeBinding type, AbstractMethodDeclaration methodDecl) { if (type.isEnum() && type.isLocalType()) { FieldBinding field = type.scope.enclosingMethodScope().initializedField; FieldDeclaration decl = field.sourceField(); String[] arguments = new String[] {new String(decl.name), new String(methodDecl.selector)}; this.handle( IProblem.AbstractMethodInEnum, arguments, arguments, methodDecl.sourceStart, methodDecl.sourceEnd); } else { String[] arguments = new String[] {new String(type.sourceName()), new String(methodDecl.selector)}; this.handle( IProblem.AbstractMethodInAbstractClass, arguments, arguments, methodDecl.sourceStart, methodDecl.sourceEnd); } } public void abstractMethodInConcreteClass(SourceTypeBinding type) {
public void abstractMethodInAbstractClass(SourceTypeBinding type, AbstractMethodDeclaration methodDecl) { if (type.isEnum() && type.isLocalType()) { FieldBinding field = type.scope.enclosingMethodScope().initializedField; FieldDeclaration decl = field.sourceField(); String[] arguments = new String[] {new String(decl.name), new String(methodDecl.selector)}; this.handle( IProblem.AbstractMethodInEnum, arguments, arguments, methodDecl.sourceStart, methodDecl.sourceEnd); } else { String[] arguments = new String[] {new String(type.sourceName()), new String(methodDecl.selector)}; this.handle( IProblem.AbstractMethodInAbstractClass, arguments, arguments, methodDecl.sourceStart, methodDecl.sourceEnd); } } public void abstractMethodInConcreteClass(SourceTypeBinding type) {
public void abstractMethodInConcreteClass(SourceTypeBinding type) { if (type.isEnum() && type.isLocalType()) { FieldBinding field = type.scope.enclosingMethodScope().initializedField; FieldDeclaration decl = field.sourceField(); String[] arguments = new String[] {new String(decl.name)}; this.handle( IProblem.EnumConstantCannotDefineAbstractMethod, arguments, arguments, decl.sourceStart(), decl.sourceEnd()); } else { String[] arguments = new String[] {new String(type.sourceName())}; this.handle( IProblem.AbstractMethodsInConcreteClass, arguments, arguments, type.sourceStart(), type.sourceEnd()); } } public void abstractMethodMustBeImplemented(SourceTypeBinding type, MethodBinding abstractMethod) {
public void abstractMethodInConcreteClass(SourceTypeBinding type) { if (type.isEnum() && type.isLocalType()) { FieldBinding field = type.scope.enclosingMethodScope().initializedField; FieldDeclaration decl = field.sourceField(); String[] arguments = new String[] {new String(decl.name)}; this.handle( IProblem.EnumConstantCannotDefineAbstractMethod, arguments, arguments, decl.sourceStart(), decl.sourceEnd()); } else { String[] arguments = new String[] {new String(type.sourceName())}; this.handle( IProblem.AbstractMethodsInConcreteClass, arguments, arguments, type.sourceStart(), type.sourceEnd()); } } public void abstractMethodMustBeImplemented(SourceTypeBinding type, MethodBinding abstractMethod) {
public void abstractMethodInConcreteClass(SourceTypeBinding type) { if (type.isEnum() && type.isLocalType()) { FieldBinding field = type.scope.enclosingMethodScope().initializedField; FieldDeclaration decl = field.sourceField(); String[] arguments = new String[] {new String(decl.name)}; this.handle( IProblem.EnumConstantCannotDefineAbstractMethod, arguments, arguments, decl.sourceStart(), decl.sourceEnd()); } else { String[] arguments = new String[] {new String(type.sourceName())}; this.handle( IProblem.AbstractMethodsInConcreteClass, arguments, arguments, type.sourceStart(), type.sourceEnd()); } } public void abstractMethodMustBeImplemented(SourceTypeBinding type, MethodBinding abstractMethod) {
public void abstractMethodInConcreteClass(SourceTypeBinding type) { if (type.isEnum() && type.isLocalType()) { FieldBinding field = type.scope.enclosingMethodScope().initializedField; FieldDeclaration decl = field.sourceField(); String[] arguments = new String[] {new String(decl.name)}; this.handle( IProblem.EnumConstantCannotDefineAbstractMethod, arguments, arguments, decl.sourceStart(), decl.sourceEnd()); } else { String[] arguments = new String[] {new String(type.sourceName())}; this.handle( IProblem.AbstractMethodsInConcreteClass, arguments, arguments, type.sourceStart(), type.sourceEnd()); } } public void abstractMethodMustBeImplemented(SourceTypeBinding type, MethodBinding abstractMethod) {
public void abstractMethodInConcreteClass(SourceTypeBinding type) { if (type.isEnum() && type.isLocalType()) { FieldBinding field = type.scope.enclosingMethodScope().initializedField; FieldDeclaration decl = field.sourceField(); String[] arguments = new String[] {new String(decl.name)}; this.handle( IProblem.EnumConstantCannotDefineAbstractMethod, arguments, arguments, decl.sourceStart(), decl.sourceEnd()); } else { String[] arguments = new String[] {new String(type.sourceName())}; this.handle( IProblem.AbstractMethodsInConcreteClass, arguments, arguments, type.sourceStart(), type.sourceEnd()); } } public void abstractMethodMustBeImplemented(SourceTypeBinding type, MethodBinding abstractMethod) {
public void abstractMethodInConcreteClass(SourceTypeBinding type) { if (type.isEnum() && type.isLocalType()) { FieldBinding field = type.scope.enclosingMethodScope().initializedField; FieldDeclaration decl = field.sourceField(); String[] arguments = new String[] {new String(decl.name)}; this.handle( IProblem.EnumConstantCannotDefineAbstractMethod, arguments, arguments, decl.sourceStart(), decl.sourceEnd()); } else { String[] arguments = new String[] {new String(type.sourceName())}; this.handle( IProblem.AbstractMethodsInConcreteClass, arguments, arguments, type.sourceStart(), type.sourceEnd()); } } public void abstractMethodMustBeImplemented(SourceTypeBinding type, MethodBinding abstractMethod) {
public void abstractMethodInConcreteClass(SourceTypeBinding type) { if (type.isEnum() && type.isLocalType()) { FieldBinding field = type.scope.enclosingMethodScope().initializedField; FieldDeclaration decl = field.sourceField(); String[] arguments = new String[] {new String(decl.name)}; this.handle( IProblem.EnumConstantCannotDefineAbstractMethod, arguments, arguments, decl.sourceStart(), decl.sourceEnd()); } else { String[] arguments = new String[] {new String(type.sourceName())}; this.handle( IProblem.AbstractMethodsInConcreteClass, arguments, arguments, type.sourceStart(), type.sourceEnd()); } } public void abstractMethodMustBeImplemented(SourceTypeBinding type, MethodBinding abstractMethod) {
public void abstractMethodInConcreteClass(SourceTypeBinding type) { if (type.isEnum() && type.isLocalType()) { FieldBinding field = type.scope.enclosingMethodScope().initializedField; FieldDeclaration decl = field.sourceField(); String[] arguments = new String[] {new String(decl.name)}; this.handle( IProblem.EnumConstantCannotDefineAbstractMethod, arguments, arguments, decl.sourceStart(), decl.sourceEnd()); } else { String[] arguments = new String[] {new String(type.sourceName())}; this.handle( IProblem.AbstractMethodsInConcreteClass, arguments, arguments, type.sourceStart(), type.sourceEnd()); } } public void abstractMethodMustBeImplemented(SourceTypeBinding type, MethodBinding abstractMethod) {
public void abstractMethodInConcreteClass(SourceTypeBinding type) { if (type.isEnum() && type.isLocalType()) { FieldBinding field = type.scope.enclosingMethodScope().initializedField; FieldDeclaration decl = field.sourceField(); String[] arguments = new String[] {new String(decl.name)}; this.handle( IProblem.EnumConstantCannotDefineAbstractMethod, arguments, arguments, decl.sourceStart(), decl.sourceEnd()); } else { String[] arguments = new String[] {new String(type.sourceName())}; this.handle( IProblem.AbstractMethodsInConcreteClass, arguments, arguments, type.sourceStart(), type.sourceEnd()); } } public void abstractMethodMustBeImplemented(SourceTypeBinding type, MethodBinding abstractMethod) {