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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint[]Answer back the array of implementation indices.char[][]Answer back the array of implementation names.intAnswer back the number of implementations.intgetIndex()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:IProvidesInfoAnswer back the provides index.- Specified by:
getIndexin interfaceIProvidesInfo- Returns:
- the provides index
-
getServiceName
public char[] getServiceName()Description copied from interface:IProvidesInfoAnswer back the service class/interface- Specified by:
getServiceNamein interfaceIProvidesInfo- Returns:
- the service class/interface
-
getImplementationsCount
public int getImplementationsCount()Description copied from interface:IProvidesInfoAnswer back the number of implementations.- Specified by:
getImplementationsCountin interfaceIProvidesInfo- Returns:
- the number of implementations.
-
getImplementationIndices
public int[] getImplementationIndices()Description copied from interface:IProvidesInfoAnswer back the array of implementation indices.- Specified by:
getImplementationIndicesin interfaceIProvidesInfo- Returns:
- the array of implementation indices.
-
getImplementationNames
public char[][] getImplementationNames()Description copied from interface:IProvidesInfoAnswer back the array of implementation names.- Specified by:
getImplementationNamesin interfaceIProvidesInfo- Returns:
- the array of implementation names.
-