List of usage examples for org.aspectj.weaver UnresolvedType getBaseName
public String getBaseName()
From source file:org.eclipse.ajdt.core.model.AJWorldFacade.java
License:Open Source License
/** * @param typeVariables/*from w w w . j a v a2s. c o m*/ * @return */ static TypeParameter[] convertTypeParameters(TypeVariable[] typeVariables) { if (typeVariables == null || typeVariables.length == 0) { return NO_TYPE_PARAMETERS; } TypeParameter[] typeParameters = new TypeParameter[typeVariables.length]; for (int i = 0; i < typeVariables.length; i++) { String name = typeVariables[i].getName(); UnresolvedType upperBoundMunger = typeVariables[i].getFirstBound(); String upperBound; if (upperBoundMunger != null) { upperBound = createJDTSignature(upperBoundMunger.getBaseName()); } else { upperBound = null; } typeParameters[i] = new TypeParameter(name, upperBound); } return typeParameters; }