Class MemberDescriptor
- java.lang.Object
-
- com.google.gwt.core.ext.soyc.coderef.EntityDescriptor
-
- com.google.gwt.core.ext.soyc.coderef.MemberDescriptor
-
- Direct Known Subclasses:
FieldDescriptor
,MethodDescriptor
public abstract class MemberDescriptor extends EntityDescriptor
Represents an abstract member, such as a field or a method. It is keep simple and will be serialized to json.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.gwt.core.ext.soyc.coderef.EntityDescriptor
EntityDescriptor.Fragment
-
-
Field Summary
Fields Modifier and Type Field Description protected ClassDescriptor
enclosingClassDescriptor
protected java.lang.String
type
The member's type represents the type of the member value when it is accessed (fields) or when it is called (methods).-
Fields inherited from class com.google.gwt.core.ext.soyc.coderef.EntityDescriptor
fragments, name, obfuscatedNames
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
MemberDescriptor(ClassDescriptor owner, java.lang.String name)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description ClassDescriptor
getEnclosingClassDescriptor()
java.lang.String
getFullName()
Returns the full qualified name.abstract java.lang.String
getJsniSignature()
The signature of the member.java.lang.String
getType()
Returns the members value type, ie.-
Methods inherited from class com.google.gwt.core.ext.soyc.coderef.EntityDescriptor
addFragment, addObfuscatedName, getFragments, getName, getObfuscatedNames
-
-
-
-
Field Detail
-
type
protected java.lang.String type
The member's type represents the type of the member value when it is accessed (fields) or when it is called (methods). It is in jsni format.
-
enclosingClassDescriptor
protected final ClassDescriptor enclosingClassDescriptor
-
-
Constructor Detail
-
MemberDescriptor
protected MemberDescriptor(ClassDescriptor owner, java.lang.String name)
-
-
Method Detail
-
getEnclosingClassDescriptor
public ClassDescriptor getEnclosingClassDescriptor()
-
getJsniSignature
public abstract java.lang.String getJsniSignature()
The signature of the member.- Returns:
- The member name plus its signature
-
getType
public java.lang.String getType()
Returns the members value type, ie. a field will return its type and a method will return its return type, in jsni format.
-
getFullName
public java.lang.String getFullName()
Description copied from class:EntityDescriptor
Returns the full qualified name.- Specified by:
getFullName
in classEntityDescriptor
-
-