-
public interface DeclarationMirrorA mirror with a source code declaration.
-
-
Method Summary
Modifier and Type Method Description abstract StringtoDeclarationString()Returns a specialized approximation of the source code declaration this mirror represents. abstract StringtoJavaDeclarationString()Returns a specialized approximation of the Java source code declaration this mirror represents. abstract StringtoKotlinDeclarationString()Returns a specialized approximation of the Kotlin source code declaration this mirror represents. -
-
Method Detail
-
toDeclarationString
abstract String toDeclarationString()
Returns a specialized approximation of the source code declaration this mirror represents. In ClassMirror, MemberMirror, and ParameterMirror this automatically chooses the appropriate language. In TypeVariableMirror this defaults to Java.
-
toJavaDeclarationString
abstract String toJavaDeclarationString()
Returns a specialized approximation of the Java source code declaration this mirror represents.
-
toKotlinDeclarationString
abstract String toKotlinDeclarationString()
Returns a specialized approximation of the Kotlin source code declaration this mirror represents.
-
-
-
-