org.jetbrains.jet.lang.resolve.java.descriptor
Class ClassDescriptorFromJvmBytecode

java.lang.Object
  extended by org.jetbrains.jet.lang.descriptors.impl.AbstractClassDescriptor
      extended by org.jetbrains.jet.lang.descriptors.impl.ClassDescriptorBase
          extended by org.jetbrains.jet.lang.descriptors.impl.MutableClassDescriptorLite
              extended by org.jetbrains.jet.lang.resolve.java.descriptor.ClassDescriptorFromJvmBytecode
All Implemented Interfaces:
Annotated, ClassDescriptor, ClassifierDescriptor, ClassOrNamespaceDescriptor, DeclarationDescriptor, DeclarationDescriptorNonRoot, DeclarationDescriptorWithVisibility, MemberDescriptor, Named, JavaClassDescriptor

public class ClassDescriptorFromJvmBytecode
extends MutableClassDescriptorLite
implements JavaClassDescriptor

See Also:
LazyClassDescriptor

Field Summary
 
Fields inherited from class org.jetbrains.jet.lang.descriptors.impl.AbstractClassDescriptor
defaultType
 
Constructor Summary
ClassDescriptorFromJvmBytecode(DeclarationDescriptor containingDeclaration, Name name, ClassKind kind, boolean isInner)
           
 
Method Summary
 java.util.Collection<ConstructorDescriptor> getConstructors()
           
 JetType getFunctionTypeForSamInterface()
           
 ConstructorDescriptor getUnsubstitutedPrimaryConstructor()
           
 void setFunctionTypeForSamInterface(JetType functionTypeForSamInterface)
           
 void setScopeForConstructorResolve(JavaClassNonStaticMembersScope scopeForConstructorResolve)
           
 
Methods inherited from class org.jetbrains.jet.lang.descriptors.impl.MutableClassDescriptorLite
addSupertype, createTypeConstructor, getAnnotations, getBuilder, getClassObjectDescriptor, getKind, getModality, getScopeForMemberLookup, getSupertypes, getTypeConstructor, getVisibility, isInner, lockScopes, setAnnotations, setModality, setScopeForMemberLookup, setSupertypes, setTypeParameterDescriptors, setVisibility, toString
 
Methods inherited from class org.jetbrains.jet.lang.descriptors.impl.ClassDescriptorBase
getContainingDeclaration
 
Methods inherited from class org.jetbrains.jet.lang.descriptors.impl.AbstractClassDescriptor
accept, acceptVoid, getClassObjectType, getDefaultType, getMemberScope, getName, getOriginal, getThisAsReceiverParameter, getUnsubstitutedInnerClassesScope, substitute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jetbrains.jet.lang.descriptors.ClassDescriptor
getClassObjectDescriptor, getClassObjectType, getContainingDeclaration, getDefaultType, getKind, getMemberScope, getModality, getThisAsReceiverParameter, getUnsubstitutedInnerClassesScope, getVisibility, isInner, substitute
 
Methods inherited from interface org.jetbrains.jet.lang.descriptors.ClassifierDescriptor
getTypeConstructor
 
Methods inherited from interface org.jetbrains.jet.lang.descriptors.DeclarationDescriptor
accept, acceptVoid, getOriginal
 
Methods inherited from interface org.jetbrains.jet.lang.descriptors.annotations.Annotated
getAnnotations
 
Methods inherited from interface org.jetbrains.jet.lang.descriptors.Named
getName
 

Constructor Detail

ClassDescriptorFromJvmBytecode

public ClassDescriptorFromJvmBytecode(@NotNull
                                      DeclarationDescriptor containingDeclaration,
                                      @NotNull
                                      Name name,
                                      @NotNull
                                      ClassKind kind,
                                      boolean isInner)
Method Detail

getConstructors

@NotNull
public java.util.Collection<ConstructorDescriptor> getConstructors()
Specified by:
getConstructors in interface ClassDescriptor

getUnsubstitutedPrimaryConstructor

@Nullable
public ConstructorDescriptor getUnsubstitutedPrimaryConstructor()
Specified by:
getUnsubstitutedPrimaryConstructor in interface ClassDescriptor

setScopeForConstructorResolve

public void setScopeForConstructorResolve(@NotNull
                                          JavaClassNonStaticMembersScope scopeForConstructorResolve)

getFunctionTypeForSamInterface

@Nullable
public JetType getFunctionTypeForSamInterface()
Specified by:
getFunctionTypeForSamInterface in interface JavaClassDescriptor

setFunctionTypeForSamInterface

public void setFunctionTypeForSamInterface(@NotNull
                                           JetType functionTypeForSamInterface)