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

java.lang.Object
  extended by org.jetbrains.jet.lang.descriptors.annotations.AnnotatedImpl
      extended by org.jetbrains.jet.lang.descriptors.impl.DeclarationDescriptorImpl
          extended by org.jetbrains.jet.lang.descriptors.impl.DeclarationDescriptorNonRootImpl
              extended by org.jetbrains.jet.lang.descriptors.impl.VariableDescriptorImpl
                  extended by org.jetbrains.jet.lang.descriptors.impl.PropertyDescriptorImpl
                      extended by org.jetbrains.jet.lang.resolve.java.descriptor.JavaPropertyDescriptor
All Implemented Interfaces:
Annotated, CallableDescriptor, CallableMemberDescriptor, DeclarationDescriptor, DeclarationDescriptorNonRoot, DeclarationDescriptorWithSource, DeclarationDescriptorWithVisibility, MemberDescriptor, Named, PropertyDescriptor, VariableDescriptor, JavaCallableMemberDescriptor

public class JavaPropertyDescriptor
extends PropertyDescriptorImpl
implements JavaCallableMemberDescriptor


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jetbrains.jet.lang.descriptors.CallableMemberDescriptor
CallableMemberDescriptor.Kind
 
Constructor Summary
JavaPropertyDescriptor(DeclarationDescriptor containingDeclaration, Annotations annotations, Visibility visibility, boolean isVar, Name name, SourceElement source)
           
 
Method Summary
 boolean hasSynthesizedParameterNames()
          Sometimes parameter names are not available at all (e.g.
 
Methods inherited from class org.jetbrains.jet.lang.descriptors.impl.PropertyDescriptorImpl
accept, addOverriddenDescriptor, copy, create, createSubstitutedCopy, getAccessors, getExpectedThisObject, getGetter, getKind, getModality, getOriginal, getOverriddenDescriptors, getReceiverParameter, getReturnType, getSetter, getTypeParameters, getVisibility, initialize, isSetterProjectedOut, isVar, setSetterProjectedOut, setType, setType, setVisibility, substitute
 
Methods inherited from class org.jetbrains.jet.lang.descriptors.impl.VariableDescriptorImpl
getCompileTimeInitializer, getType, getValueParameters, hasStableParameterNames, setCompileTimeInitializer, setOutType
 
Methods inherited from class org.jetbrains.jet.lang.descriptors.impl.DeclarationDescriptorNonRootImpl
getContainingDeclaration, getSource
 
Methods inherited from class org.jetbrains.jet.lang.descriptors.impl.DeclarationDescriptorImpl
acceptVoid, getName, toString
 
Methods inherited from class org.jetbrains.jet.lang.descriptors.annotations.AnnotatedImpl
getAnnotations
 
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.CallableMemberDescriptor
addOverriddenDescriptor, copy, getKind, getOriginal, getOverriddenDescriptors
 
Methods inherited from interface org.jetbrains.jet.lang.descriptors.CallableDescriptor
getExpectedThisObject, getReceiverParameter, getReturnType, getTypeParameters, getValueParameters, hasStableParameterNames, substitute
 
Methods inherited from interface org.jetbrains.jet.lang.descriptors.MemberDescriptor
getModality, getVisibility
 
Methods inherited from interface org.jetbrains.jet.lang.descriptors.DeclarationDescriptorNonRoot
getContainingDeclaration
 
Methods inherited from interface org.jetbrains.jet.lang.descriptors.DeclarationDescriptorWithSource
getSource
 
Methods inherited from interface org.jetbrains.jet.lang.descriptors.DeclarationDescriptor
accept, acceptVoid
 
Methods inherited from interface org.jetbrains.jet.lang.descriptors.annotations.Annotated
getAnnotations
 
Methods inherited from interface org.jetbrains.jet.lang.descriptors.Named
getName
 
Methods inherited from interface org.jetbrains.jet.lang.descriptors.VariableDescriptor
getCompileTimeInitializer, getContainingDeclaration, getType
 

Constructor Detail

JavaPropertyDescriptor

public JavaPropertyDescriptor(@NotNull
                              DeclarationDescriptor containingDeclaration,
                              @NotNull
                              Annotations annotations,
                              @NotNull
                              Visibility visibility,
                              boolean isVar,
                              @NotNull
                              Name name,
                              @NotNull
                              SourceElement source)
Method Detail

hasSynthesizedParameterNames

public boolean hasSynthesizedParameterNames()
Description copied from interface: CallableDescriptor
Sometimes parameter names are not available at all (e.g. Java binaries with not enough debug information). In this case, getName() returns synthetic names such as "p0", "p1" etc.

Specified by:
hasSynthesizedParameterNames in interface CallableDescriptor
Overrides:
hasSynthesizedParameterNames in class VariableDescriptorImpl