## Uses of Class
com.google.gwt.core.ext.soyc.coderef.ClassDescriptor

- Packages that use ClassDescriptor
  Package | Description
  --- | ---
  com.google.gwt.core.ext.soyc.coderef |

- - ### Uses of ClassDescriptor in com.google.gwt.core.ext.soyc.coderef

    Fields in com.google.gwt.core.ext.soyc.coderef declared as ClassDescriptor
    Modifier and Type | Field | Description
    --- | --- | ---
    `protected ClassDescriptor` | MemberDescriptor.`enclosingClassDescriptor` |

    Methods in com.google.gwt.core.ext.soyc.coderef that return ClassDescriptor
    Modifier and Type | Method | Description
    --- | --- | ---
    `ClassDescriptor` | DependencyGraphRecorder.`classDescriptorFrom​(com.google.gwt.dev.jjs.ast.JDeclaredType classType)` | Returns a class descriptor from a JDeclaredType.
    `static ClassDescriptor` | ClassDescriptor.`from​(com.google.gwt.dev.jjs.ast.JDeclaredType classType)` | Creates a class descriptor from a JDeclaredType.
    `ClassDescriptor` | MemberDescriptor.`getEnclosingClassDescriptor()` |

    Methods in com.google.gwt.core.ext.soyc.coderef that return types with arguments of type ClassDescriptor
    Modifier and Type | Method | Description
    --- | --- | ---
    `java.util.Map<java.lang.String,​ClassDescriptor>` | PackageDescriptor.`getAllClassesByName()` | Returns all classes in this package and its subpackages in a form of mapping between qualified class name and class descriptor.
    `java.util.Collection<ClassDescriptor>` | PackageDescriptor.`getClasses()` | Returns the list of classes in this packages without including subpackages.
    `java.util.Map<java.lang.String,​ClassDescriptor>` | DependencyGraphRecorder.`getCodeModel()` | Returns the code model that maps fully qualified class names (eg.

    Methods in com.google.gwt.core.ext.soyc.coderef with parameters of type ClassDescriptor
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | PackageDescriptor.`addClass​(ClassDescriptor cls)` |
    `static FieldDescriptor` | FieldDescriptor.`from​(ClassDescriptor classDescriptor, com.google.gwt.dev.jjs.ast.JField jField)` | Creates a field descriptor from a JField and set its enclosing class.
    `static MethodDescriptor` | MethodDescriptor.`from​(ClassDescriptor classDescriptor, com.google.gwt.dev.jjs.ast.JMethod method, java.lang.String signature)` | Creates a method descriptor from a JMethod with its original signature, and set its enclosing class.

    Method parameters in com.google.gwt.core.ext.soyc.coderef with type arguments of type ClassDescriptor
    Modifier and Type | Method | Description
    --- | --- | ---
    `static PackageDescriptor` | PackageDescriptor.`from​(java.util.Map<java.lang.String,​ClassDescriptor> codeModel)` | Creates a package descriptor from a code model (mapping between class names and class descriptors).

    Constructors in com.google.gwt.core.ext.soyc.coderef with parameters of type ClassDescriptor
    Constructor | Description
    --- | ---
    `FieldDescriptor​(ClassDescriptor classDescriptor, java.lang.String name, java.lang.String type)` |
    `MemberDescriptor​(ClassDescriptor owner, java.lang.String name)` |
    `MethodDescriptor​(ClassDescriptor owner, java.lang.String jsniSignature)` |