Class ProvidesInfo
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.util.ClassFileStruct
org.aspectj.org.eclipse.jdt.internal.core.util.ProvidesInfo
- All Implemented Interfaces:
IProvidesInfo
-
Constructor Summary
ConstructorDescriptionProvidesInfo(byte[] classFileBytes, IConstantPool constantPool, int offset)
-
Method Summary
Modifier and TypeMethodDescriptionint[]
Answer back the array of implementation indices.char[][]
Answer back the array of implementation names.int
Answer back the number of implementations.int
getIndex()
Answer back the provides index.char[]
Answer back the service class/interface
-
Constructor Details
-
ProvidesInfo
public ProvidesInfo(byte[] classFileBytes, IConstantPool constantPool, int offset) throws ClassFormatException- Throws:
ClassFormatException
-
-
Method Details
-
getIndex
public int getIndex()Description copied from interface:IProvidesInfo
Answer back the provides index.- Specified by:
getIndex
in interfaceIProvidesInfo
- Returns:
- the provides index
-
getServiceName
public char[] getServiceName()Description copied from interface:IProvidesInfo
Answer back the service class/interface- Specified by:
getServiceName
in interfaceIProvidesInfo
- Returns:
- the service class/interface
-
getImplementationsCount
public int getImplementationsCount()Description copied from interface:IProvidesInfo
Answer back the number of implementations.- Specified by:
getImplementationsCount
in interfaceIProvidesInfo
- Returns:
- the number of implementations.
-
getImplementationIndices
public int[] getImplementationIndices()Description copied from interface:IProvidesInfo
Answer back the array of implementation indices.- Specified by:
getImplementationIndices
in interfaceIProvidesInfo
- Returns:
- the array of implementation indices.
-
getImplementationNames
public char[][] getImplementationNames()Description copied from interface:IProvidesInfo
Answer back the array of implementation names.- Specified by:
getImplementationNames
in interfaceIProvidesInfo
- Returns:
- the array of implementation names.
-