Search in sources :

Example 6 with ValueResolverInfo

use of com.redhat.qute.commons.datamodel.resolvers.ValueResolverInfo in project quarkus-ls by redhat-developer.

the class InjectNamespaceResolverSupport method collectResolversForInject.

private static void collectResolversForInject(IMember javaMember, String named, List<ValueResolverInfo> resolvers, ITypeResolver typeResolver) {
    ValueResolverInfo resolver = new ValueResolverInfo();
    resolver.setNamed(named);
    resolver.setSourceType(javaMember.getDeclaringType().getFullyQualifiedName());
    resolver.setSignature(getSignature(javaMember, typeResolver));
    resolver.setNamespace(INJECT_NAMESPACE);
    resolvers.add(resolver);
}
Also used : ValueResolverInfo(com.redhat.qute.commons.datamodel.resolvers.ValueResolverInfo)

Aggregations

ValueResolverInfo (com.redhat.qute.commons.datamodel.resolvers.ValueResolverInfo)6 DataModelTemplate (com.redhat.qute.commons.datamodel.DataModelTemplate)2 QuteDataModelProjectParams (com.redhat.qute.commons.datamodel.QuteDataModelProjectParams)2 NullProgressMonitor (org.eclipse.core.runtime.NullProgressMonitor)2 Test (org.junit.Test)2 DataModelParameter (com.redhat.qute.commons.datamodel.DataModelParameter)1 DataModelProject (com.redhat.qute.commons.datamodel.DataModelProject)1 QuteMavenProjectName (com.redhat.qute.jdt.QuteProjectTest.QuteMavenProjectName)1 QuteProjectTest.getJDTUtils (com.redhat.qute.jdt.QuteProjectTest.getJDTUtils)1 QuteProjectTest.loadMavenProject (com.redhat.qute.jdt.QuteProjectTest.loadMavenProject)1 QuteSupportForTemplate (com.redhat.qute.jdt.QuteSupportForTemplate)1 List (java.util.List)1 Optional (java.util.Optional)1 JavaModelException (org.eclipse.jdt.core.JavaModelException)1 Assert (org.junit.Assert)1