Logo Search packages:      
Sourcecode: aspectj version File versions  Download package

Type [] org::aspectj::internal::lang::reflect::InterTypeConstructorDeclarationImpl::getGenericParameterTypes (  )  [inline]

The generic constructor parameters

Implements org::aspectj::lang::reflect::InterTypeConstructorDeclaration.

Definition at line 56 of file InterTypeConstructorDeclarationImpl.java.

                                               {
            Type[] baseTypes = baseMethod.getGenericParameterTypes();
            Type[] ret = new AjType<?>[baseTypes.length-1];
            for (int i = 1; i < baseTypes.length; i++) {
                  if (baseTypes[i] instanceof Class) {
                        ret[i-1] = AjTypeSystem.getAjType((Class<?>)baseTypes[i]);
                  } else {
                        ret[i-1] = baseTypes[i];
                  }
            }
            return ret;
      }


Generated by  Doxygen 1.6.0   Back to index