Code example for Parameter

Methods: getName

0
                if (member instanceof Executable) {
                    // Method or constructor injection 
                    Executable executable = (Executable) member;
                    AnnotatedParameter<?> annotatedParameter = (AnnotatedParameter<?>) injectionPoint.getAnnotated();
                    Parameter parameter = executable.getParameters()[annotatedParameter.getPosition()];
                    named = new NamedLiteral(parameter.getName());
                } else { 
                    named = new NamedLiteral(injectionPoint.getMember().getName());
                } 
 
                qualifierInstance = QualifierInstance.of(named, store);
                qualifiers.add(named);
                qualifierInstances.add(qualifierInstance);
                mappedQualifiers.put(Named.class, named);
            } 
        } 
        setDeclaringBean(injectionPoint.getBean());
        this.delegate = injectionPoint.isDelegate();
    } 
 
Contextual code suggestions in your IDE  Get Codota for Java