public boolean isLocal() throws JavaModelException { IBinaryType info = (IBinaryType) getElementInfo(); return info.isLocal(); } /*
public boolean isAnonymous() throws JavaModelException { IBinaryType info = (IBinaryType) getElementInfo(); return info.isAnonymous(); } /*
public int getFlags() throws JavaModelException { IBinaryType info = (IBinaryType) getElementInfo(); return info.getModifiers() & ~ClassFileConstants.AccSuper; } /*
public boolean isMember() throws JavaModelException { IBinaryType info = (IBinaryType) getElementInfo(); return info.isMember(); } /* (non-Javadoc)
public boolean isAnonymous() throws JavaModelException { IBinaryType info = (IBinaryType) getElementInfo(); return info.isAnonymous(); } /*
public boolean isLocal() throws JavaModelException { IBinaryType info = (IBinaryType) getElementInfo(); return info.isLocal(); } /*
@Override public boolean isMember() throws JavaModelException { IBinaryType info = (IBinaryType) getElementInfo(); return info.isMember(); }
@Override public int getFlags() throws JavaModelException { IBinaryType info = (IBinaryType) getElementInfo(); return info.getModifiers() & ~ClassFileConstants.AccSuper; }
@Override public boolean isLocal() throws JavaModelException { IBinaryType info = (IBinaryType) getElementInfo(); return info.isLocal(); }
public boolean isAnonymous() throws JavaModelException { IBinaryType info = (IBinaryType) getElementInfo(); return info.isAnonymous(); } /*
public boolean isLocal() throws JavaModelException { IBinaryType info = (IBinaryType) getElementInfo(); return info.isLocal(); } /*
public boolean isMember() throws JavaModelException { IBinaryType info = (IBinaryType) getElementInfo(); return info.isMember(); } /* (non-Javadoc)
@Override public String getSuperclassName() throws JavaModelException { IBinaryType info = (IBinaryType) getElementInfo(); char[] superclassName = info.getSuperclassName(); if (superclassName == null) { return null; } return new String(ClassFile.translatedName(superclassName)); }
@Override public boolean isClass() throws JavaModelException { IBinaryType info = (IBinaryType) getElementInfo(); return TypeDeclaration.kind(info.getModifiers()) == TypeDeclaration.CLASS_DECL; }
/** * @see IType#isEnum() * @since 3.0 */ public boolean isEnum() throws JavaModelException { IBinaryType info = (IBinaryType) getElementInfo(); return TypeDeclaration.kind(info.getModifiers()) == TypeDeclaration.ENUM_DECL; }
public boolean isInterface() throws JavaModelException { IBinaryType info = (IBinaryType) getElementInfo(); switch (TypeDeclaration.kind(info.getModifiers())) { case TypeDeclaration.INTERFACE_DECL: case TypeDeclaration.ANNOTATION_TYPE_DECL: // annotation is interface too return true; } return false; } /**
/** * @see IType#isEnum() * @since 3.0 */ @Override public boolean isEnum() throws JavaModelException { IBinaryType info = (IBinaryType) getElementInfo(); return TypeDeclaration.kind(info.getModifiers()) == TypeDeclaration.ENUM_DECL; }
@Override public boolean isInterface() throws JavaModelException { IBinaryType info = (IBinaryType) getElementInfo(); switch (TypeDeclaration.kind(info.getModifiers())) { case TypeDeclaration.INTERFACE_DECL: case TypeDeclaration.ANNOTATION_TYPE_DECL: // annotation is interface too return true; } return false; } /**
@Override public IAnnotation[] getAnnotations() throws JavaModelException { IBinaryType info = (IBinaryType) getElementInfo(); IBinaryAnnotation[] binaryAnnotations = info.getAnnotations(); return getAnnotations(binaryAnnotations, info.getTagBits()); }
public IAnnotation[] getAnnotations() throws JavaModelException { IBinaryType info = (IBinaryType) getElementInfo(); IBinaryAnnotation[] binaryAnnotations = info.getAnnotations(); return getAnnotations(binaryAnnotations, info.getTagBits()); } /*