|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sun.tools.apt.mirror.declaration.DeclarationImpl
com.sun.tools.apt.mirror.declaration.MemberDeclarationImpl
public abstract class MemberDeclarationImpl
Implementation of MemberDeclaration
| Field Summary |
|---|
| Fields inherited from class com.sun.tools.apt.mirror.declaration.DeclarationImpl |
|---|
env, identityFilter, sym |
| Constructor Summary | |
|---|---|
protected |
MemberDeclarationImpl(AptEnv env,
Symbol sym)
|
| Method Summary | |
|---|---|
void |
accept(DeclarationVisitor v)
Applies a visitor to this declaration. |
private Symbol.ClassSymbol |
getDeclaringClassSymbol()
Returns the ClassSymbol of the declaring type, or null if this is a top-level type. |
TypeDeclaration |
getDeclaringType()
Returns the type declaration within which this member or constructor is declared. |
java.util.Collection<TypeParameterDeclaration> |
getFormalTypeParameters()
For methods, constructors, and types. |
protected static java.lang.String |
typeParamsToString(AptEnv env,
Symbol sym)
Returns the formal type parameters of a type, member or constructor as an angle-bracketed string. |
| Methods inherited from class com.sun.tools.apt.mirror.declaration.DeclarationImpl |
|---|
equals, getAnnotation, getAnnotation, getAnnotationMirrors, getDocComment, getMembers, getModifiers, getPosition, getSimpleName, hashCode |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.sun.mirror.declaration.Declaration |
|---|
equals, getAnnotation, getAnnotationMirrors, getDocComment, getModifiers, getPosition, getSimpleName |
| Constructor Detail |
|---|
protected MemberDeclarationImpl(AptEnv env,
Symbol sym)
| Method Detail |
|---|
public TypeDeclaration getDeclaringType()
getDeclaringType in interface MemberDeclarationpublic java.util.Collection<TypeParameterDeclaration> getFormalTypeParameters()
public void accept(DeclarationVisitor v)
accept in interface Declarationaccept in class DeclarationImplv - the visitor operating on this declarationprivate Symbol.ClassSymbol getDeclaringClassSymbol()
protected static java.lang.String typeParamsToString(AptEnv env,
Symbol sym)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||