Class JavaMemberSource
java.lang.Object
uno.anahata.ai.nb.model.java2.JavaTypeSource
uno.anahata.ai.nb.model.java2.JavaMemberSource
A rich result object that represents the outcome of a source-finding operation for a specific JavaMember.
It extracts only the source code of the member itself from the containing file.
-
Field Summary
Fields inherited from class JavaTypeSource
content, javaType, sourceFile -
Constructor Summary
ConstructorsConstructorDescriptionJavaMemberSource(JavaMember member) Constructs a new JavaMemberSource and attempts to extract the source code for the given JavaMember. -
Method Summary
-
Constructor Details
-
JavaMemberSource
Constructs a new JavaMemberSource and attempts to extract the source code for the given JavaMember.- Parameters:
member- the member to find source for.- Throws:
Exception- if the source cannot be found or read.
-
-
Method Details
-
getMember
-
