org.aspectj.ajdt.internal.compiler.lookup
Class HelperInterfaceBinding

java.lang.Object
  extended by org.aspectj.org.eclipse.jdt.internal.compiler.lookup.Binding
      extended by org.aspectj.org.eclipse.jdt.internal.compiler.lookup.TypeBinding
          extended by org.aspectj.org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding
              extended by org.aspectj.org.eclipse.jdt.internal.compiler.lookup.SourceTypeBinding
                  extended by org.aspectj.ajdt.internal.compiler.lookup.HelperInterfaceBinding
All Implemented Interfaces:
IDependent

public class HelperInterfaceBinding
extends SourceTypeBinding


Field Summary
 
Fields inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.lookup.SourceTypeBinding
CLASS_LITERAL_EMUL, FIELD_EMUL, fields, memberFinder, memberTypes, METHOD_EMUL, originalSuperclass, originalSuperInterfaces, privilegedHandler, RECEIVER_TYPE_EMUL, scope, superclass, superInterfaces, typeFinder, typeVariables
 
Fields inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding
compoundName, fPackage, LUB_GENERIC, modifiers, sourceName
 
Fields inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.lookup.TypeBinding
BOOLEAN, BYTE, CHAR, DOUBLE, FLOAT, id, INT, LONG, NULL, SHORT, tagBits, VOID
 
Fields inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.lookup.Binding
ANY_EXCEPTION, ARRAY_TYPE, BASE_TYPE, FIELD, GENERIC_TYPE, IMPORT, LOCAL, METHOD, NO_ANNOTATIONS, NO_ELEMENT_VALUE_PAIRS, NO_EXCEPTIONS, NO_FIELDS, NO_MEMBER_TYPES, NO_METHODS, NO_PARAMETERS, NO_SUPERINTERFACES, NO_TYPE_VARIABLES, NO_TYPES, PACKAGE, PARAMETERIZED_TYPE, RAW_TYPE, TYPE, TYPE_PARAMETER, VARIABLE, WILDCARD_TYPE
 
Fields inherited from interface org.aspectj.org.eclipse.jdt.internal.compiler.env.IDependent
JAR_FILE_ENTRY_SEPARATOR
 
Constructor Summary
HelperInterfaceBinding(char[][] compoundName, PackageBinding fPackage, ClassScope scope)
           
HelperInterfaceBinding(SourceTypeBinding enclosingType, UnresolvedType typeX)
           
 
Method Summary
 void addMethod(EclipseFactory world, ResolvedMember member)
           
 char[] constantPoolName()
          Answer the receiver's constant pool name.
 FieldBinding[] fields()
           
 void generateClass(CompilationResult result, ClassFile enclosingClassFile)
           
 char[] getFileName()
          Answer the file name which defines the type.
 UnresolvedType getTypeX()
           
 MethodBinding[] methods()
           
 ReferenceBinding[] superInterfaces()
           
 
Methods inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.lookup.SourceTypeBinding
addField, addMethod, addSyntheticBridgeMethod, addSyntheticEnumMethod, addSyntheticField, addSyntheticFieldForAssert, addSyntheticFieldForClassLiteral, addSyntheticFieldForEnumValues, addSyntheticFieldForInnerclass, addSyntheticFieldForInnerclass, addSyntheticFieldForSwitchEnum, addSyntheticMethod, addSyntheticMethod, addSyntheticMethodForSwitchEnum, computeUniqueKey, genericSignature, genericTypeSignature, getAnnotationTagBits, getDefaultAbstractMethods, getExactConstructor, getExactMethod, getExactMethodBase, getField, getField, getFieldBase, getMemberType, getMethods, getMethodsBase, getSyntheticBridgeMethod, getSyntheticField, getSyntheticField, getUpdatedFieldBinding, getUpdatedMethodBinding, hasMemberTypes, initializeDeprecatedAnnotationTagBits, isEquivalentTo, isGenericType, kind, memberTypes, methodsBase, rememberTypeHierarchy, removeMethod, resolveTypesFor, retrieveAnnotationHolder, setFields, setMethods, sourceEnd, sourceStart, superclass, syntheticFields, syntheticMethods, toString, typeVariables
 
Methods inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding
availableFields, availableMethods, binarySearch, binarySearch, canBeInstantiated, canBeSeenBy, canBeSeenBy, canBeSeenBy, closestMatch, computeGenericTypeSignature, computeId, debugName, depth, detectAnnotationCycle, enclosingTypeAt, enumConstantCount, fieldCount, getAccessFlags, getAnnotations, getPackage, getTypeVariable, hashCode, hasIncompatibleSuperType, hasRestrictedAccess, implementsInterface, innerCanBeSeenBy, innerCanBeSeenBy, isAbstract, isAnnotationType, isBinaryBinding, isClass, isCompatibleWith, isDefault, isDeprecated, isEnum, isFinal, isHierarchyBeingConnected, isInterface, isPrivate, isProtected, isPublic, isStatic, isStrictfp, isSuperclassOf, isThrowable, isUncheckedException, isUsed, isViewedAsDeprecated, outermostEnclosingType, qualifiedSourceName, readableName, setAnnotations, shortReadableName, signature, sortFields, sortMethods, sourceName, syntheticEnclosingInstanceTypes, syntheticOuterLocalVariables
 
Methods inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.lookup.TypeBinding
capture, collectSubstitutes, dimensions, enclosingType, erasure, findSuperTypeErasingTo, findSuperTypeWithSameErasure, genericCast, isAnonymousType, isArrayType, isBaseType, isBoundParameterizedType, isCapture, isHierarchyInconsistent, isIntersectingWith, isIntersectionType, isLocalType, isMemberType, isNestedType, isNumericType, isParameterizedType, isParameterizedWithOwnVariables, isProvablyDistinctFrom, isRawType, isReifiable, isTypeArgumentContainedBy, isTypeArgumentIntersecting, isTypeVariable, isUnboundWildcard, isWildcard, leafComponentType, needsUncheckedConversion, qualifiedPackageName, swapUnresolved, wellKnownType
 
Methods inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.lookup.Binding
computeUniqueKey, isValidBinding, problemId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HelperInterfaceBinding

public HelperInterfaceBinding(SourceTypeBinding enclosingType,
                              UnresolvedType typeX)

HelperInterfaceBinding

public HelperInterfaceBinding(char[][] compoundName,
                              PackageBinding fPackage,
                              ClassScope scope)
Method Detail

getFileName

public char[] getFileName()
Description copied from interface: IDependent
Answer the file name which defines the type. The path part (optional) must be separated from the actual file proper name by a separator suitable for the type (java.io.File.separator for example), e.g. "c:\\source\\com\\p\\X.java" or "/com/p/Y.java". The path to the zip or jar file (optional) must be separated from the actual path part by JAR_FILE_ENTRY_SEPARATOR, e.g. "c:\\lib\\some.jar|/com/p/X.class" or "/lib/some.zip|/com/q/Y.class". The proper file name includes the suffix extension (e.g. ".java") e.g. "c:/org.aspectj.org.eclipse.jdt/internal/compileri/env/IDependent.java" Return null if no file defines the type.

Specified by:
getFileName in interface IDependent
Overrides:
getFileName in class ReferenceBinding
See Also:
IDependent.getFileName()

getTypeX

public UnresolvedType getTypeX()

addMethod

public void addMethod(EclipseFactory world,
                      ResolvedMember member)

fields

public FieldBinding[] fields()
Overrides:
fields in class SourceTypeBinding

methods

public MethodBinding[] methods()
Overrides:
methods in class SourceTypeBinding

constantPoolName

public char[] constantPoolName()
Description copied from class: TypeBinding
Answer the receiver's constant pool name. NOTE: This method should only be used during/after code gen. e.g. 'java/lang/Object'

Overrides:
constantPoolName in class ReferenceBinding

generateClass

public void generateClass(CompilationResult result,
                          ClassFile enclosingClassFile)

superInterfaces

public ReferenceBinding[] superInterfaces()
Overrides:
superInterfaces in class SourceTypeBinding