public void enumConstantMustImplementAbstractMethod(AbstractMethodDeclaration method, FieldDeclaration field) { MethodBinding abstractMethod = method.binding; this.handle( IProblem.EnumConstantMustImplementAbstractMethod, new String[] { new String(abstractMethod.selector), typesAsString(abstractMethod, false), new String(field.name), }, new String[] { new String(abstractMethod.selector), typesAsString(abstractMethod, true), new String(field.name), }, field.sourceStart(), field.sourceEnd()); } public void enumConstantsCannotBeSurroundedByParenthesis(Expression expression) {
public void enumConstantMustImplementAbstractMethod(AbstractMethodDeclaration method, FieldDeclaration field) { MethodBinding abstractMethod = method.binding; this.handle( IProblem.EnumConstantMustImplementAbstractMethod, new String[] { new String(abstractMethod.selector), typesAsString(abstractMethod, false), new String(field.name), }, new String[] { new String(abstractMethod.selector), typesAsString(abstractMethod, true), new String(field.name), }, field.sourceStart(), field.sourceEnd()); } public void enumConstantsCannotBeSurroundedByParenthesis(Expression expression) {
public void enumConstantMustImplementAbstractMethod(AbstractMethodDeclaration method, FieldDeclaration field) { MethodBinding abstractMethod = method.binding; this.handle( IProblem.EnumConstantMustImplementAbstractMethod, new String[] { new String(abstractMethod.selector), typesAsString(abstractMethod, false), new String(field.name), }, new String[] { new String(abstractMethod.selector), typesAsString(abstractMethod, true), new String(field.name), }, field.sourceStart(), field.sourceEnd()); } public void enumConstantsCannotBeSurroundedByParenthesis(Expression expression) {
public void enumConstantMustImplementAbstractMethod(AbstractMethodDeclaration method, FieldDeclaration field) { MethodBinding abstractMethod = method.binding; this.handle( IProblem.EnumConstantMustImplementAbstractMethod, new String[] { new String(abstractMethod.selector), typesAsString(abstractMethod, false), new String(field.name), }, new String[] { new String(abstractMethod.selector), typesAsString(abstractMethod, true), new String(field.name), }, field.sourceStart(), field.sourceEnd()); } public void enumConstantsCannotBeSurroundedByParenthesis(Expression expression) {
public void enumConstantMustImplementAbstractMethod(AbstractMethodDeclaration method, FieldDeclaration field) { MethodBinding abstractMethod = method.binding; this.handle( IProblem.EnumConstantMustImplementAbstractMethod, new String[] { new String(abstractMethod.selector), typesAsString(abstractMethod, false), new String(field.name), }, new String[] { new String(abstractMethod.selector), typesAsString(abstractMethod, true), new String(field.name), }, field.sourceStart(), field.sourceEnd()); } public void enumConstantsCannotBeSurroundedByParenthesis(Expression expression) {
public void enumConstantMustImplementAbstractMethod(AbstractMethodDeclaration method, FieldDeclaration field) { MethodBinding abstractMethod = method.binding; this.handle( IProblem.EnumConstantMustImplementAbstractMethod, new String[] { new String(abstractMethod.selector), typesAsString(abstractMethod, false), new String(field.name), }, new String[] { new String(abstractMethod.selector), typesAsString(abstractMethod, true), new String(field.name), }, field.sourceStart(), field.sourceEnd()); } public void enumConstantsCannotBeSurroundedByParenthesis(Expression expression) {
public void enumConstantMustImplementAbstractMethod(AbstractMethodDeclaration method, FieldDeclaration field) { MethodBinding abstractMethod = method.binding; this.handle( IProblem.EnumConstantMustImplementAbstractMethod, new String[] { new String(abstractMethod.selector), typesAsString(abstractMethod, false), new String(field.name), }, new String[] { new String(abstractMethod.selector), typesAsString(abstractMethod, true), new String(field.name), }, field.sourceStart(), field.sourceEnd()); } public void enumConstantsCannotBeSurroundedByParenthesis(Expression expression) {
public void enumConstantMustImplementAbstractMethod(AbstractMethodDeclaration method, FieldDeclaration field) { MethodBinding abstractMethod = method.binding; this.handle( IProblem.EnumConstantMustImplementAbstractMethod, new String[] { new String(abstractMethod.selector), typesAsString(abstractMethod, false), new String(field.name), }, new String[] { new String(abstractMethod.selector), typesAsString(abstractMethod, true), new String(field.name), }, field.sourceStart(), field.sourceEnd()); } public void enumConstantsCannotBeSurroundedByParenthesis(Expression expression) {
public void enumConstantMustImplementAbstractMethod(AbstractMethodDeclaration method, FieldDeclaration field) { MethodBinding abstractMethod = method.binding; this.handle( IProblem.EnumConstantMustImplementAbstractMethod, new String[] { new String(abstractMethod.selector), typesAsString(abstractMethod, false), new String(field.name), }, new String[] { new String(abstractMethod.selector), typesAsString(abstractMethod, true), new String(field.name), }, field.sourceStart(), field.sourceEnd()); } public void enumConstantsCannotBeSurroundedByParenthesis(Expression expression) {
public void enumConstantMustImplementAbstractMethod(AbstractMethodDeclaration method, FieldDeclaration field) { MethodBinding abstractMethod = method.binding; this.handle( IProblem.EnumConstantMustImplementAbstractMethod, new String[] { new String(abstractMethod.selector), typesAsString(abstractMethod.isVarargs(), abstractMethod.parameters, false), new String(field.name), }, new String[] { new String(abstractMethod.selector), typesAsString(abstractMethod.isVarargs(), abstractMethod.parameters, true), new String(field.name), }, field.sourceStart(), field.sourceEnd()); } public void enumConstantsCannotBeSurroundedByParenthesis(Expression expression) {
public void enumConstantMustImplementAbstractMethod(AbstractMethodDeclaration method, FieldDeclaration field) { MethodBinding abstractMethod = method.binding; this.handle( IProblem.EnumConstantMustImplementAbstractMethod, new String[] { new String(abstractMethod.selector), typesAsString(abstractMethod.isVarargs(), abstractMethod.parameters, false), new String(field.name), }, new String[] { new String(abstractMethod.selector), typesAsString(abstractMethod.isVarargs(), abstractMethod.parameters, true), new String(field.name), }, field.sourceStart(), field.sourceEnd()); } public void enumConstantsCannotBeSurroundedByParenthesis(Expression expression) {
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) {