Package ch.raffael.meldioc.processor.env
Class Adaptor
java.lang.Object
ch.raffael.meldioc.processor.env.Environment.WithEnv
ch.raffael.meldioc.processor.env.Adaptor
- All Implemented Interfaces:
ch.raffael.meldioc.model.Adaptor<Element,,TypeRef> ch.raffael.meldioc.model.messages.MessageSink<Element,TypeRef>
public final class Adaptor
extends Environment.WithEnv
implements ch.raffael.meldioc.model.Adaptor<Element,TypeRef>, ch.raffael.meldioc.model.messages.MessageSink<Element,TypeRef>
-
Nested Class Summary
Nested classes/interfaces inherited from interface ch.raffael.meldioc.model.Adaptor
ch.raffael.meldioc.model.Adaptor.SuperType<T>Nested classes/interfaces inherited from interface ch.raffael.meldioc.model.messages.MessageSink
ch.raffael.meldioc.model.messages.MessageSink.Tracker<S,T>, ch.raffael.meldioc.model.messages.MessageSink.UniqueWrapper<S, T> -
Field Summary
Fields inherited from class ch.raffael.meldioc.processor.env.Environment.WithEnv
env -
Method Summary
Modifier and TypeMethodDescriptionclassElement(TypeRef type) collectionOf(TypeRef componentType) componentTypeOfIterable(TypeRef iterableType) constructors(TypeRef type) declaredMethods(TypeRef type) intbooleanhasTypeParameters(TypeRef type) booleanisAnnotationType(TypeRef type) booleanisEnumType(TypeRef type) booleanisInterface(TypeRef type) booleanisPrimitive(TypeRef type) booleanisRecordType(TypeRef type) booleanisReference(TypeRef type) booleanisSubtypeOf(TypeRef left, TypeRef right) iterableOf(TypeRef componentType) voidnoType()io.vavr.collection.Seq<ch.raffael.meldioc.model.Adaptor.SuperType<TypeRef>>superTypes(TypeRef type) typeOf(ch.raffael.meldioc.model.ClassRef ref) intMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ch.raffael.meldioc.model.Adaptor
isNoTypeMethods inherited from interface ch.raffael.meldioc.model.messages.MessageSink
tracker
-
Method Details
-
errorCount
public int errorCount() -
warningCount
public int warningCount() -
isSubtypeOf
-
isReference
-
isInterface
-
hasTypeParameters
-
isPrimitive
-
isEnumType
-
isAnnotationType
-
isRecordType
-
typeOf
-
classElement
-
superTypes
-
declaredMethods
-
constructors
-
packageOf
-
iterableOf
-
collectionOf
-
listOf
-
componentTypeOfIterable
-
noType
-
message
-