org.jetbrains.jet.lang.resolve.java.resolver
Class KotlinClassFileHeader
java.lang.Object
org.jetbrains.jet.lang.resolve.java.resolver.KotlinClassFileHeader
public final class KotlinClassFileHeader
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
readKotlinHeaderFromClassFile
@NotNull
public static KotlinClassFileHeader readKotlinHeaderFromClassFile(@NotNull
com.intellij.openapi.vfs.VirtualFile virtualFile)
getVersion
public int getVersion()
getType
@NotNull
public KotlinClassFileHeader.HeaderType getType()
isKotlinCompiledFile
public boolean isKotlinCompiledFile()
getFqName
@NotNull
public FqName getFqName()
- Returns:
- FQ name for class header or package class FQ name for package header (e.g.
test.TestPackage
)
getAnnotationData
public java.lang.String[] getAnnotationData()
readClassData
@NotNull
public ClassData readClassData()
readPackageData
@NotNull
public PackageData readPackageData()