Package org.pkl.core
Class PClass.ClassMember
java.lang.Object
org.pkl.core.Member
org.pkl.core.PClass.ClassMember
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
PClass.Method,PClass.Property
- Enclosing class:
PClass
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.pkl.core.Member
Member.SourceLocation -
Constructor Summary
ConstructorsConstructorDescriptionClassMember(@Nullable String docComment, Member.SourceLocation sourceLocation, Set<Modifier> modifiers, List<PObject> annotations, String simpleName, PClass owner) -
Method Summary
Modifier and TypeMethodDescriptionReturns the documentation comment of this member.Returns the name of the module that this member is declared in.getOwner()Returns the class declaring this member.Methods inherited from class org.pkl.core.Member
getAnnotations, getDocComment, getModifiers, getSimpleName, getSourceLocation, isAbstract, isExternal, isHidden, isOpen, isStandardLibraryMember
-
Constructor Details
-
ClassMember
-
-
Method Details
-
getModuleName
Description copied from class:MemberReturns the name of the module that this member is declared in.- Specified by:
getModuleNamein classMember
-
getOwner
Returns the class declaring this member. -
getInheritedDocComment
Returns the documentation comment of this member. If this member does not have a documentation comment, returns the documentation comment of the nearest documented ancestor, if any.
-