Codota Logo
AnnotationClassPropertyHarvester
Code IndexAdd Codota to your IDE (free)

How to use
AnnotationClassPropertyHarvester
in
sk.seges.sesam.core.pap.utils

Best Java code snippets using sk.seges.sesam.core.pap.utils.AnnotationClassPropertyHarvester (Showing top 4 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Gson g =
  • Codota Iconnew Gson()
  • Codota IconGsonBuilder gsonBuilder;gsonBuilder.create()
  • Codota Iconnew GsonBuilder().create()
  • Smart code suggestions by Codota
}
origin: sk.seges.acris/acris-theme-processor

public TypeElement getWidgetType() {
  ThemeSupport themeSupportAnnotation = configurationTypeElement.getAnnotation(ThemeSupport.class);
  return AnnotationClassPropertyHarvester.getTypeOfClassProperty(themeSupportAnnotation, new AnnotationClassProperty<ThemeSupport>() {
    @Override
    public Class<?> getClassProperty(ThemeSupport annotation) {
      return annotation.widgetClass();
    }
  });
}
 
origin: sk.seges.sesam/sesam-annotation-core-support

protected void loadFromConfiguration() {
  Set<? extends Element> elementsAnnotatedWith = roundEnvironment.getElementsAnnotatedWith(ProcessorConfiguration.class);
  
  for (Element element: elementsAnnotatedWith) {
    ProcessorConfiguration configurationAnnotation = element.getAnnotation(ProcessorConfiguration.class);
    TypeElement processorClassType = AnnotationClassPropertyHarvester.getTypeOfClassProperty(configurationAnnotation, new AnnotationClassProperty<ProcessorConfiguration>(){
      @Override
      public Class<?> getClassProperty(ProcessorConfiguration annotation) {
        return annotation.processor();
      }
      
    });
          
    if (this.processor.getClass().getName().equals(processorClassType.getQualifiedName().toString())) {
      configurations.add((TypeElement)element);
    }
  }
  
  for (TypeElement configurationType: configurations) {
    loadFromConfiguration(configurationType);
  }
}
origin: sk.seges.sesam/sesam-service-support

protected RemoteServiceTypeElement getRemoteServiceElement() {
  if (!isValid()) {
    return null;
  }
  
  LocalServiceDefinition localServiceDefinition = this.localServiceType.getAnnotation(LocalServiceDefinition.class);
  TypeElement remoteService = AnnotationClassPropertyHarvester.getTypeOfClassProperty(localServiceDefinition,  new AnnotationClassProperty<LocalServiceDefinition>() {
    @Override
    public Class<?> getClassProperty(LocalServiceDefinition annotation) {
      return annotation.remoteService();
    }
    
  });
  
  return new RemoteServiceTypeElement(remoteService, this, processingEnv);
}
 
origin: sk.seges.acris/acris-theme-processor

ThemeSupport themeSupport = themeComponent.getAnnotation(ThemeSupport.class);
TypeElement widgetClass = AnnotationClassPropertyHarvester.getTypeOfClassProperty(themeSupport, new AnnotationClassProperty<ThemeSupport>() {
sk.seges.sesam.core.pap.utilsAnnotationClassPropertyHarvester

Most used methods

  • getTypeOfClassProperty

Popular in Java

  • Reading from database using SQL prepared statement
  • setRequestProperty (URLConnection)
  • compareTo (BigDecimal)
    Compares this BigDecimal with the specified BigDecimal. Two BigDecimal objects that are equal in val
  • addToBackStack (FragmentTransaction)
  • Font (java.awt)
    The Font class represents fonts, which are used to render text in a visible way. A font provides the
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • Kernel (java.awt.image)
  • EOFException (java.io)
    Thrown when a program encounters the end of a file or stream during an input operation.
  • TreeSet (java.util)
    A NavigableSet implementation based on a TreeMap. The elements are ordered using their Comparable, o
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now