org.glassfish.hk2.classmodel.reflect.impl
Class TypesImpl

java.lang.Object
  extended by org.glassfish.hk2.classmodel.reflect.impl.TypesImpl
All Implemented Interfaces:
TypeBuilder

public class TypesImpl
extends Object
implements TypeBuilder

Results of a parsing activity, all java resources are inventoried in three main categories : classes, interfaces and annotations with cross references

Author:
Jerome Dochez

Constructor Summary
TypesImpl(TypesCtr types, URI definingURI)
           
 
Method Summary
 FieldModelImpl getFieldModel(String name, TypeProxy type, ExtensibleType declaringType)
           
 TypeProxy getHolder(String name)
           
<T extends Type>
TypeProxy<T>
getHolder(String name, Class<T> type)
           
 Class<? extends Type> getType(int access)
           
 TypeImpl getType(int access, String name, TypeProxy parent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TypesImpl

public TypesImpl(TypesCtr types,
                 URI definingURI)
Method Detail

getType

public Class<? extends Type> getType(int access)
Specified by:
getType in interface TypeBuilder

getType

public TypeImpl getType(int access,
                        String name,
                        TypeProxy parent)
Specified by:
getType in interface TypeBuilder

getFieldModel

public FieldModelImpl getFieldModel(String name,
                                    TypeProxy type,
                                    ExtensibleType declaringType)
Specified by:
getFieldModel in interface TypeBuilder

getHolder

public TypeProxy getHolder(String name)
Specified by:
getHolder in interface TypeBuilder

getHolder

public <T extends Type> TypeProxy<T> getHolder(String name,
                                               Class<T> type)
Specified by:
getHolder in interface TypeBuilder


Copyright © 2013 Oracle Corporation. All Rights Reserved.