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

AjType<?> [] org::aspectj::internal::lang::reflect::AdviceImpl::getParameterTypes (  )  [inline]

The advice parameters

Implements org::aspectj::lang::reflect::Advice.

Definition at line 76 of file AdviceImpl.java.

                                             {
            if (this.parameterTypes == null) {
                  Class<?>[] ptypes = adviceMethod.getParameterTypes();
                  int syntheticCount = 0;
                  for(Class<?> c : ptypes) {
                        if (c.getPackage().getName().equals(AJC_INTERNAL)) syntheticCount++;
                  }
                  this.parameterTypes = new AjType<?>[ptypes.length - syntheticCount];
                  for (int i = 0; i < parameterTypes.length; i++) {
                        this.parameterTypes[i] = AjTypeSystem.getAjType(ptypes[i]);
                  }
            }
            return this.parameterTypes;
      }


Generated by  Doxygen 1.6.0   Back to index