Java 类javax.el.MethodInfo 实例源码

项目:tomcat7    文件:AstValue.java   
@Override
// Interface el.parser.Node uses raw types (and is auto-generated)
public MethodInfo getMethodInfo(EvaluationContext ctx, 
        @SuppressWarnings("rawtypes") Class[] paramTypes)
        throws ELException {
    Target t = getTarget(ctx);
    Method m = ReflectionUtil.getMethod(
            t.base, t.property, paramTypes, null);
    return new MethodInfo(m.getName(), m.getReturnType(), m
            .getParameterTypes());
}
项目:myfaces-trinidad    文件:MethodExpressionMethodBinding.java   
public Class getType(FacesContext facesContext)
{
  MethodInfo mi = _me.getMethodInfo(facesContext.getELContext());
  if (mi == null)
    return null;

  return mi.getReturnType();
}
项目:lams    文件:AstValue.java   
public MethodInfo getMethodInfo(EvaluationContext ctx, Class[] paramTypes)
        throws ELException {
    Target t = getTarget(ctx);
    Method m = ReflectionUtil.getMethod(t.base, t.property, paramTypes);
    return new MethodInfo(m.getName(), m.getReturnType(), m
            .getParameterTypes());
}
项目:apache-tomcat-7.0.73-with-comment    文件:AstValue.java   
@Override
// Interface el.parser.Node uses raw types (and is auto-generated)
public MethodInfo getMethodInfo(EvaluationContext ctx, 
        @SuppressWarnings("rawtypes") Class[] paramTypes)
        throws ELException {
    Target t = getTarget(ctx);
    Method m = ReflectionUtil.getMethod(
            t.base, t.property, paramTypes, null);
    return new MethodInfo(m.getName(), m.getReturnType(), m
            .getParameterTypes());
}
项目:lazycat    文件:AstValue.java   
@Override
// Interface el.parser.Node uses raw types (and is auto-generated)
public MethodInfo getMethodInfo(EvaluationContext ctx, @SuppressWarnings("rawtypes") Class[] paramTypes)
        throws ELException {
    Target t = getTarget(ctx);
    Method m = ReflectionUtil.getMethod(t.base, t.property, paramTypes, null);
    return new MethodInfo(m.getName(), m.getReturnType(), m.getParameterTypes());
}
项目:beyondj    文件:MethodExpressionLiteral.java   
@Override
public MethodInfo getMethodInfo(ELContext context) throws ELException {
    context.notifyBeforeEvaluation(getExpressionString());
    MethodInfo result =
            new MethodInfo(this.expr, this.expectedType, this.paramTypes);
    context.notifyAfterEvaluation(getExpressionString());
    return result;
}
项目:class-guard    文件:AstValue.java   
@Override
// Interface el.parser.Node uses raw types (and is auto-generated)
public MethodInfo getMethodInfo(EvaluationContext ctx, 
        @SuppressWarnings("rawtypes") Class[] paramTypes)
        throws ELException {
    Target t = getTarget(ctx);
    Method m = ReflectionUtil.getMethod(
            t.base, t.property, paramTypes, null);
    return new MethodInfo(m.getName(), m.getReturnType(), m
            .getParameterTypes());
}
项目:apache-tomcat-7.0.57    文件:SimpleNode.java   
@Override
public MethodInfo getMethodInfo(EvaluationContext ctx,
        Class<?>[] paramTypes) throws ELException {
    throw new UnsupportedOperationException();
}
项目:apache-tomcat-7.0.57    文件:AstValue.java   
@Override
// Interface el.parser.Node uses raw types (and is auto-generated)
public MethodInfo getMethodInfo(EvaluationContext ctx, 
        @SuppressWarnings("rawtypes") Class[] paramTypes)
        throws ELException {
    Target t = getTarget(ctx);
    Method m = ReflectionUtil.getMethod(
            t.base, t.property, paramTypes, null);
    return new MethodInfo(m.getName(), m.getReturnType(), m
            .getParameterTypes());
}
项目:apache-tomcat-7.0.57    文件:AstValue.java   
@Override
// Interface el.parser.Node uses raw types (and is auto-generated)
public MethodInfo getMethodInfo(EvaluationContext ctx, 
        @SuppressWarnings("rawtypes") Class[] paramTypes)
        throws ELException {
    Target t = getTarget(ctx);
    Method m = ReflectionUtil.getMethod(
            t.base, t.property, paramTypes, null);
    return new MethodInfo(m.getName(), m.getReturnType(), m
            .getParameterTypes());
}
项目:jboss-el    文件:AstClosure.java   
public MethodInfo getMethodInfo(Object base, EvaluationContext ctx, Class[] paramTypes) throws ELException {
    VariableMapper orig = ctx.getVariableMapper();
    ctx.setVariableMapper(new ClosureVariableMapper(orig, this.image, base));
    MethodInfo result = null;
    try {
        result = this.children[0].getMethodInfo(ctx, paramTypes);
    } finally {
        ctx.setVariableMapper(orig);
    }
    return result;
}
项目:jboss-el    文件:AstClosureSuffix.java   
public MethodInfo getMethodInfo(Object base, EvaluationContext ctx, Class[] paramTypes) throws ELException {
    Collection c = this.toCollection(base);
    if (c == null || c.isEmpty()) {
        return null;
    } else {
        AstClosure closure = this.closure();
        Object first = c.iterator().next();
        return closure.getMethodInfo(first, ctx, paramTypes);
    }
}
项目:WBSAirback    文件:AstValue.java   
@Override
// Interface el.parser.Node uses raw types (and is auto-generated)
public MethodInfo getMethodInfo(EvaluationContext ctx, 
        @SuppressWarnings("rawtypes") Class[] paramTypes)
        throws ELException {
    Target t = getTarget(ctx);
    Method m = ReflectionUtil.getMethod(t.base, t.property, paramTypes);
    return new MethodInfo(m.getName(), m.getReturnType(), m
            .getParameterTypes());
}
项目:tomcat7    文件:SimpleNode.java   
@Override
public MethodInfo getMethodInfo(EvaluationContext ctx,
        Class<?>[] paramTypes) throws ELException {
    throw new UnsupportedOperationException();
}
项目:tomcat7    文件:Node.java   
public MethodInfo getMethodInfo(EvaluationContext ctx, Class<?>[] paramTypes)
throws ELException;
项目:tomcat7    文件:AstIdentifier.java   
@Override
public MethodInfo getMethodInfo(EvaluationContext ctx,
        Class<?>[] paramTypes) throws ELException {
    return this.getMethodExpression(ctx).getMethodInfo(ctx.getELContext());
}
项目:tomcat7    文件:MethodExpressionLiteral.java   
@Override
public MethodInfo getMethodInfo(ELContext context) throws ELException {
    return new MethodInfo(this.expr, this.expectedType, this.paramTypes);
}
项目:myfaces-trinidad    文件:MApplication.java   
@Override
public MethodInfo getMethodInfo(ELContext elContext)
{
  throw new UnsupportedOperationException("Not implemented yet");
}
项目:myfaces-trinidad    文件:MethodBindingMethodExpression.java   
public MethodInfo getMethodInfo(ELContext context)
{
  Class<?> type = _binding.getType(FacesContext.getCurrentInstance());
  return new MethodInfo(null, type, null);
}
项目:myfaces-trinidad    文件:AttributeChangeTester.java   
public MethodInfo getMethodInfo(ELContext context)
{
  return null;
}
项目:lams    文件:SimpleNode.java   
public MethodInfo getMethodInfo(EvaluationContext ctx, Class[] paramTypes) throws ELException {
    throw new UnsupportedOperationException();
}
项目:lams    文件:AstIdentifier.java   
public MethodInfo getMethodInfo(EvaluationContext ctx, Class[] paramTypes)
        throws ELException {
    return this.getMethodExpression(ctx).getMethodInfo(ctx.getELContext());
}
项目:lams    文件:MethodExpressionLiteral.java   
public MethodInfo getMethodInfo(ELContext context) throws ELException {
    return new MethodInfo(this.expr, this.expectedType, this.paramTypes);
}
项目:apache-tomcat-7.0.73-with-comment    文件:SimpleNode.java   
@Override
public MethodInfo getMethodInfo(EvaluationContext ctx,
        Class<?>[] paramTypes) throws ELException {
    throw new UnsupportedOperationException();
}
项目:apache-tomcat-7.0.73-with-comment    文件:Node.java   
public MethodInfo getMethodInfo(EvaluationContext ctx, Class<?>[] paramTypes)
throws ELException;
项目:apache-tomcat-7.0.73-with-comment    文件:AstIdentifier.java   
@Override
public MethodInfo getMethodInfo(EvaluationContext ctx,
        Class<?>[] paramTypes) throws ELException {
    return this.getMethodExpression(ctx).getMethodInfo(ctx.getELContext());
}
项目:apache-tomcat-7.0.73-with-comment    文件:MethodExpressionLiteral.java   
@Override
public MethodInfo getMethodInfo(ELContext context) throws ELException {
    return new MethodInfo(this.expr, this.expectedType, this.paramTypes);
}
项目:lazycat    文件:SimpleNode.java   
@Override
public MethodInfo getMethodInfo(EvaluationContext ctx, Class<?>[] paramTypes) throws ELException {
    throw new UnsupportedOperationException();
}
项目:lazycat    文件:AstIdentifier.java   
@Override
public MethodInfo getMethodInfo(EvaluationContext ctx, Class<?>[] paramTypes) throws ELException {
    return this.getMethodExpression(ctx).getMethodInfo(ctx.getELContext());
}
项目:lazycat    文件:MethodExpressionLiteral.java   
@Override
public MethodInfo getMethodInfo(ELContext context) throws ELException {
    return new MethodInfo(this.expr, this.expectedType, this.paramTypes);
}
项目:beyondj    文件:SimpleNode.java   
@Override
public MethodInfo getMethodInfo(EvaluationContext ctx,
        Class<?>[] paramTypes) throws ELException {
    throw new UnsupportedOperationException();
}
项目:beyondj    文件:Node.java   
public MethodInfo getMethodInfo(EvaluationContext ctx, Class<?>[] paramTypes)
throws ELException;
项目:class-guard    文件:SimpleNode.java   
@Override
public MethodInfo getMethodInfo(EvaluationContext ctx,
        Class<?>[] paramTypes) throws ELException {
    throw new UnsupportedOperationException();
}
项目:class-guard    文件:Node.java   
public MethodInfo getMethodInfo(EvaluationContext ctx, Class<?>[] paramTypes)
throws ELException;
项目:class-guard    文件:AstIdentifier.java   
@Override
public MethodInfo getMethodInfo(EvaluationContext ctx,
        Class<?>[] paramTypes) throws ELException {
    return this.getMethodExpression(ctx).getMethodInfo(ctx.getELContext());
}
项目:class-guard    文件:MethodExpressionLiteral.java   
@Override
public MethodInfo getMethodInfo(ELContext context) throws ELException {
    return new MethodInfo(this.expr, this.expectedType, this.paramTypes);
}
项目:apache-tomcat-7.0.57    文件:Node.java   
public MethodInfo getMethodInfo(EvaluationContext ctx, Class<?>[] paramTypes)
throws ELException;
项目:apache-tomcat-7.0.57    文件:AstIdentifier.java   
@Override
public MethodInfo getMethodInfo(EvaluationContext ctx,
        Class<?>[] paramTypes) throws ELException {
    return this.getMethodExpression(ctx).getMethodInfo(ctx.getELContext());
}
项目:apache-tomcat-7.0.57    文件:SimpleNode.java   
@Override
public MethodInfo getMethodInfo(EvaluationContext ctx,
        Class<?>[] paramTypes) throws ELException {
    throw new UnsupportedOperationException();
}
项目:apache-tomcat-7.0.57    文件:Node.java   
public MethodInfo getMethodInfo(EvaluationContext ctx, Class<?>[] paramTypes)
throws ELException;