Package org.springframework.expression.spel.support

Examples of org.springframework.expression.spel.support.ReflectiveConstructorExecutor


          return false;
        }
      }
    }

    ReflectiveConstructorExecutor executor = (ReflectiveConstructorExecutor) this.cachedExecutor;
    Constructor<?> constructor = executor.getConstructor();
    return (Modifier.isPublic(constructor.getModifiers()) &&
        Modifier.isPublic(constructor.getDeclaringClass().getModifiers()));
  }
View Full Code Here


        Modifier.isPublic(constructor.getDeclaringClass().getModifiers()));
  }
 
  @Override
  public void generateCode(MethodVisitor mv, CodeFlow cf) {
    ReflectiveConstructorExecutor executor = ((ReflectiveConstructorExecutor) this.cachedExecutor);
    Constructor<?> constructor = executor.getConstructor();   
    String classSlashedDescriptor = constructor.getDeclaringClass().getName().replace('.', '/');
    mv.visitTypeInsn(NEW, classSlashedDescriptor);
    mv.visitInsn(DUP);
    // children[0] is the type of the constructor, don't want to include that in argument processing
    SpelNodeImpl[] arguments = new SpelNodeImpl[children.length-1];
View Full Code Here

TOP

Related Classes of org.springframework.expression.spel.support.ReflectiveConstructorExecutor

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.