Tabnine Logo
PropertyMetaDataParser.readKey
Code IndexAdd Tabnine to your IDE (free)

How to use
readKey
method
in
de.smartics.properties.spi.core.metadata.PropertyMetaDataParser

Best Java code snippets using de.smartics.properties.spi.core.metadata.PropertyMetaDataParser.readKey (Showing top 2 results out of 315)

origin: de.smartics.properties/smartics-properties-config

return parser.readKey(propertyMethod);
final PropertyKey key = parser.readKey(method);
 final Object propertyValue =
   configurationProperties.getPropertyValue(key);
origin: de.smartics.properties/smartics-properties-core

/**
 * Reads the property descriptor information from the method.
 *
 * @param method the method to read the property descriptor.
 * @return the property descriptor provided by this method.
 * @throws NullPointerException if {@code method} is <code>null</code>.
 */
public PropertyDescriptor readDescriptor(final Method method)
 throws NullPointerException
{
 Arg.checkNotNull("method", method);
 final PropertyMetaData.Builder builder = new PropertyMetaData.Builder();
 final Class<?> declaringType = method.getDeclaringClass();
 final PropertyKey key = readKey(method);
 final PropertyType type = readType(method);
 builder.with(new PropertyContextProxy(context))
   .withDeclaringType(declaringType).with(key).with(type);
 addValueRange(builder, method);
 addExpression(builder, method);
 addLifecycle(builder, method);
 addConstraints(builder, method);
 addDocumentProxy(builder, method, key);
 addComments(builder);
 addSecured(builder, method);
 addCategories(builder, method);
 addUseType(builder, method);
 return builder.build();
}
de.smartics.properties.spi.core.metadataPropertyMetaDataParserreadKey

Javadoc

Reads the property key information from the method.

Popular methods of PropertyMetaDataParser

  • readDescriptor
    Reads the property descriptor information from the method.
  • create
    Convenience constructor to generate property descriptors with access to property comments.
  • readPropertySetName
  • <init>
    Default constructor to generate property descriptors with comments.
  • addCategories
  • addCategoriesFromAnnotation
  • addComments
  • addConstraints
  • addDocumentProxy
  • addExpression
  • addLifecycle
  • addSecured
  • addLifecycle,
  • addSecured,
  • addUseType,
  • addValueRange,
  • calcElementConstraintMethod,
  • calcElementConstraints,
  • calcElementType,
  • calcElementsConstraintsType,
  • calcPropertyName

Popular in Java

  • Creating JSON documents from java classes using gson
  • getContentResolver (Context)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • onRequestPermissionsResult (Fragment)
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • TreeSet (java.util)
    TreeSet is an implementation of SortedSet. All optional operations (adding and removing) are support
  • ExecutorService (java.util.concurrent)
    An Executor that provides methods to manage termination and methods that can produce a Future for tr
  • Pattern (java.util.regex)
    Patterns are compiled regular expressions. In many cases, convenience methods such as String#matches
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
  • Top plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now