org.jetbrains.jet.lang.resolve.java.resolver
Class KotlinClassFileHeader

java.lang.Object
  extended by org.jetbrains.jet.lang.resolve.java.resolver.KotlinClassFileHeader

public final class KotlinClassFileHeader
extends java.lang.Object


Nested Class Summary
static class KotlinClassFileHeader.HeaderType
           
 
Method Summary
 java.lang.String[] getAnnotationData()
           
 FqName getFqName()
           
 KotlinClassFileHeader.HeaderType getType()
           
 int getVersion()
           
 boolean isKotlinCompiledFile()
           
 ClassData readClassData()
           
static KotlinClassFileHeader readKotlinHeaderFromClassFile(com.intellij.openapi.vfs.VirtualFile virtualFile)
           
 PackageData readPackageData()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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()