Package org.pkl.core
Class Member
java.lang.Object
org.pkl.core.Member
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
PClass,PClass.ClassMember,TypeAlias
Common base class for TypeAlias, PClass, PClass.Property, and PClass.Method.
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the annotations of this member.Returns the documentation comment of this member.Returns the modifiers of this member.abstract StringReturns the name of the module that this member is declared in.Returns the unqualified name of this member.Returns the source location, such as start and end line, of this member.booleanTells if this member has anabstractmodifier.booleanTells if this member has anexternalmodifier.booleanisHidden()Tells if this member has ahiddenmodifier.booleanisOpen()Tells if this member has anopenmodifier.final booleanTells if this member is defined in Pkl's standard library.
-
Constructor Details
-
Member
-
-
Method Details
-
getModuleName
Returns the name of the module that this member is declared in. -
getDocComment
Returns the documentation comment of this member. -
getSourceLocation
Returns the source location, such as start and end line, of this member. -
getModifiers
Returns the modifiers of this member. -
getAnnotations
Returns the annotations of this member. -
isExternal
public boolean isExternal()Tells if this member has anexternalmodifier. -
isAbstract
public boolean isAbstract()Tells if this member has anabstractmodifier. -
isHidden
public boolean isHidden()Tells if this member has ahiddenmodifier. -
isOpen
public boolean isOpen()Tells if this member has anopenmodifier. -
isStandardLibraryMember
public final boolean isStandardLibraryMember()Tells if this member is defined in Pkl's standard library. -
getSimpleName
Returns the unqualified name of this member.
-