result.addWarning("A local type enclosed in type " + type.getElementName() + " declares a native method");
result.addWarning("A local type enclosed in type " + type.getElementName() + " declares a native method. Renaming will cause UnsatisfiedLinkError on runtime.");
			public boolean visit(TypeDeclaration typeDeclaration, ClassScope scope) {				if ( new String(typeDeclaration.name).equals(newName)					&& isInType(type.getElementName(), scope))						result.addError("A local type enclosed in type " + type.getElementName() + " is already named " + newName);				if (typeDeclaration.methods != null){					for (int i=0; i < typeDeclaration.methods.length; i++){						if (typeDeclaration.methods[i].isNative())							result.addWarning("A local type enclosed in type " + type.getElementName() + " declares a native method");					}					}					return true;			}