@Override public void addReference(Descriptors.TypeRef ref) { allReferredClasses.add(ref.getBinary()); } });
@Override public void implementsInterfaces(Descriptors.TypeRef[] refs) { for (Descriptors.TypeRef ref : refs) { allReferredClasses.add(ref.getBinary()); } }
@Override public void classBegin(int access, TypeRef name) { s = root.getScope(name.getBinary()); s.access = Access.modifier(access); s.kind = Kind.CLASS; }
@Override public String getBinary() { return "[" + component.getBinary(); }
@Override public void enclosingMethod(TypeRef cName, String mName, String mDescriptor) { enclosing = root.getScope(cName.getBinary()); if (mName != null) { enclosing = enclosing.getScope(Scope.methodIdentity(mName, mDescriptor)); } }
@Override public void enclosingMethod(TypeRef cName, String mName, String mDescriptor) { enclosing = root.getScope(cName.getBinary()); if (mName != null) { enclosing = enclosing.getScope(Scope.methodIdentity(mName, mDescriptor)); } }
@Override public void classBegin(int access, TypeRef name) { s = root.getScope(name.getBinary()); s.access = Access.modifier(access); s.kind = Kind.CLASS; }
@Override public void enclosingMethod(TypeRef cName, String mName, String mDescriptor) { enclosing = root.getScope(cName.getBinary()); if (mName != null) { enclosing = enclosing.getScope(Scope.methodIdentity(mName, mDescriptor)); } }
@Override public void classBegin(int access, TypeRef name) { s = root.getScope(name.getBinary()); s.access = Access.modifier(access); s.kind = Kind.CLASS; }
@Override public void enclosingMethod(TypeRef cName, String mName, String mDescriptor) { enclosing = root.getScope(cName.getBinary()); if (mName != null) { enclosing = enclosing.getScope(Scope.methodIdentity(mName, mDescriptor)); } }
void addAnnotation(Annotation a) { if (annotations == null) annotations = Create.set(); annotations.add(analyzer.getTypeRef(a.getName().getBinary())); }
@Override public void classBegin(int access, TypeRef name) { s = root.getScope(name.getBinary()); s.access = Access.modifier(access); s.kind = Kind.CLASS; }
void addAnnotation(Annotation a) { if (annotations == null) annotations = Create.set(); annotations.add(analyzer.getTypeRef(a.name.getBinary())); }
void addAnnotation(Annotation a) { if (annotations == null) annotations = Create.set(); annotations.add(analyzer.getTypeRef(a.getName() .getBinary())); }