org.eclipse.xtend.core.formatting
Class OrganizeImports.ReferenceAcceptor
java.lang.Object
org.eclipse.xtend.core.formatting.OrganizeImports.ReferenceAcceptor
- All Implemented Interfaces:
- IImportCollection
- Enclosing class:
- OrganizeImports
public static class OrganizeImports.ReferenceAcceptor
- extends java.lang.Object
- implements IImportCollection
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
types
public java.util.Set<JvmType> types
staticMembers
public java.util.Set<JvmType> staticMembers
staticExtensionMembers
public java.util.Set<JvmType> staticExtensionMembers
OrganizeImports.ReferenceAcceptor
public OrganizeImports.ReferenceAcceptor()
acceptType
public void acceptType(JvmTypeReference ref)
addImplicitlyImportedPackages
public void addImplicitlyImportedPackages(java.util.Collection<? extends java.lang.String> implicitlyImportedPackage)
getListofStaticExtensionImports
public java.util.List<java.lang.String> getListofStaticExtensionImports()
- Specified by:
getListofStaticExtensionImports
in interface IImportCollection
isMemberNeedsImport
protected boolean isMemberNeedsImport(JvmType type)
getListofStaticImports
public java.util.List<java.lang.String> getListofStaticImports()
- Specified by:
getListofStaticImports
in interface IImportCollection
getListofImportedTypeNames
public java.util.List<java.lang.String> getListofImportedTypeNames()
- Specified by:
getListofImportedTypeNames
in interface IImportCollection
isTypeNeedsImport
protected boolean isTypeNeedsImport(JvmDeclaredType jvmType)
addType
protected void addType(java.util.Map<java.lang.String,java.lang.String> names,
JvmDeclaredType type)
acceptType
public void acceptType(JvmType type)
acceptStaticImport
public void acceptStaticImport(JvmMember member)
acceptStaticExtensionImport
public void acceptStaticExtensionImport(JvmMember member)