Tabnine Logo
SimpleTypeInfo.isInfoOf
Code IndexAdd Tabnine to your IDE (free)

How to use
isInfoOf
method
in
br.com.objectos.way.code.SimpleTypeInfo

Best Java code snippets using br.com.objectos.way.code.SimpleTypeInfo.isInfoOf (Showing top 5 results out of 315)

origin: br.com.objectos/way-code

public boolean isSubType(Class<?> maybeSuperType) {
 try {
  String qualifiedName = qualifiedName();
  Class<?> theClass = Class.forName(qualifiedName);
  return maybeSuperType.isAssignableFrom(theClass);
 } catch (ClassNotFoundException e) {
  return isInfoOf(maybeSuperType);
 }
}
origin: br.com.objectos.way/io-flat-pojo-plugin

public static FieldMethod code(Property property, AnnotationInfo fieldAnnotation) {
 SimpleTypeInfo returnTypeInfo = property.returnTypeInfo();
 return returnTypeInfo.isInfoOf(Optional.class)
   ? OptionalMethod.code(property, fieldAnnotation, returnTypeInfo)
   : StandardMethod.code(property, fieldAnnotation, returnTypeInfo);
}
origin: br.com.objectos.way/pojo-plugin

@Override
public boolean hasAnnotation(Class<? extends Annotation> annotationType) {
 if (HasAnnotationInfoList.super.hasAnnotation(annotationType)) {
  return true;
 }
 return runtimeAnnotationList.stream()
   .filter(ann -> ann.isInfoOf(annotationType))
   .findAny()
   .isPresent();
}
origin: br.com.objectos.way/pojo-plugin

public boolean annotationInstanceOf(Class<? extends Annotation> annotationType) {
 return annotationInfo.simpleTypeInfo().isInfoOf(annotationType);
}
origin: br.com.objectos/way-code

public boolean isInfoOf(Class<?> type) {
 return simpleTypeInfo().isInfoOf(type);
}
br.com.objectos.way.codeSimpleTypeInfoisInfoOf

Popular methods of SimpleTypeInfo

  • typeName
  • equals
  • kind
  • nameInfo
  • newPrimitive
  • packageInfo
  • toArray
  • typeParameterInfoList
  • getTypeParameterInfoStream
  • isPrimitive
  • isSubType
  • newType
  • isSubType,
  • newType,
  • simpleName,
  • typeNameRaw,
  • className,
  • classNameSuffix,
  • fileAt,
  • getDeclaredName,
  • getGetterPrefix

Popular in Java

  • Finding current android device location
  • setRequestProperty (URLConnection)
  • requestLocationUpdates (LocationManager)
  • compareTo (BigDecimal)
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • Graphics2D (java.awt)
    This Graphics2D class extends the Graphics class to provide more sophisticated control overgraphics
  • String (java.lang)
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
  • Servlet (javax.servlet)
    Defines methods that all servlets must implement. A servlet is a small Java program that runs within
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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