Package jodd.petite.meta

Examples of jodd.petite.meta.PetiteDestroyMethod


    MethodDescriptor[] allMethods = cd.getAllMethodDescriptors();

    for (MethodDescriptor methodDescriptor : allMethods) {
      Method method = methodDescriptor.getMethod();

      PetiteDestroyMethod petiteDestroyMethod = method.getAnnotation(PetiteDestroyMethod.class);
      if (petiteDestroyMethod == null) {
        continue;
      }
      if (method.getParameterTypes().length > 0) {
        throw new PetiteException("Arguments are not allowed for Petite destroy method: " + type.getName() + '#' + method.getName());
View Full Code Here

TOP

Related Classes of jodd.petite.meta.PetiteDestroyMethod

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.