Skip navigation links
A C D E F G H I K M N O P R S T U V 

A

AbstractDynamicTypeProxy - Class in manifold.ext.api
 
AbstractDynamicTypeProxy(Object) - Constructor for class manifold.ext.api.AbstractDynamicTypeProxy
 
AbstractExtensionProducer<M extends IModel> - Class in manifold.ext
An abstraction for a type manifold that produces Extension Classes to be processed by the ExtensionManifold.
AbstractExtensionProducer() - Constructor for class manifold.ext.AbstractExtensionProducer
 
accept(int, T) - Method in interface manifold.util.IndexedConsumer
Performs this operation on the given argument with the given index.
addFile(IFile) - Method in class manifold.ext.Model
 
and(CharPredicate) - Method in interface manifold.util.CharPredicate
Returns a composed predicate that represents a short-circuiting logical AND of this predicate and another.
and(IndexedPredicate<? super T>) - Method in interface manifold.util.IndexedPredicate
Returns a composed predicate that represents a short-circuiting logical AND of this predicate and another.
andThen(IndexedConsumer<? super T>) - Method in interface manifold.util.IndexedConsumer
Returns a composed Consumer that performs, in sequence, this operation followed by the after operation.
andThen(IndexedFunction<? super R, ? extends V>) - Method in interface manifold.util.IndexedFunction
Returns a composed function that first applies this function to its input, and then applies the after function to the result.
apply(int, T) - Method in interface manifold.util.IndexedFunction
Applies this function to the given argument.
arePrimitiveTypesAssignable(Class, Class) - Static method in class manifold.ext.StructuralTypeProxyGenerator
 
assignStructuralIdentity(Object, Class) - Static method in class manifold.ext.ExtensionTransformer
 

C

call(Class, String, String, Class, Class[], Object[]) - Method in interface manifold.ext.api.ICallHandler
Dispatch a call to an interface method.
call(Map<K, V>, Class, String, String, Class, Class[], Object[]) - Static method in class manifold.ext.extensions.java.util.Map.MapStructExt
 
CharPredicate - Interface in manifold.util
Represents a predicate (boolean-valued function) of one char-valued argument.
compose(IndexedFunction<? super V, ? extends T>) - Method in interface manifold.util.IndexedFunction
Returns a composed function that first applies the before function to its input, and then applies this function to the result.
constructProxy(Object, Class) - Static method in class manifold.ext.ExtensionTransformer
 
containsKey(TypeVariable) - Method in class manifold.ext.TypeVarToTypeMap
 
contribute(String, String, Model, DiagnosticListener<JavaFileObject>) - Method in class manifold.ext.ExtensionManifold
 
createCacheClearer() - Method in class manifold.ext.AbstractExtensionProducer
 
createCacheClearer() - Method in class manifold.ext.ExtensionManifold
 
createModel(String, Set<IFile>) - Method in class manifold.ext.AbstractExtensionProducer
 

D

deriveExtendedClassFrom(String) - Method in class manifold.ext.AbstractExtensionProducer
 
DynamicTypeProxyGenerator - Class in manifold.ext
Used at runtime to dynamically proxy a type that dynamically implements a structural interface via ICallHandler e.g., an Extension Method for ICallHandler#call on Map could delegate get/set accessor calls to the map's key/value pairs and delegate method calls to key/value pairs involving functional interface values.

E

EMPTY_MAP - Static variable in class manifold.ext.TypeVarToTypeMap
 
entrySet() - Method in class manifold.ext.TypeVarToTypeMap
 
Extension - Annotation Type in manifold.ext.api
Use this annotation to indicate a class is a Manifold Extension class.
extensionClass - Static variable in annotation type manifold.ext.ExtensionMethod
 
ExtensionManifold - Class in manifold.ext
 
ExtensionManifold() - Constructor for class manifold.ext.ExtensionManifold
 
ExtensionMethod - Annotation Type in manifold.ext
!!! For internal use only !!!

This annotation is added to a generated extension method when it is added to the extended class.

EXTENSIONS_PACKAGE - Static variable in class manifold.ext.ExtensionManifold
 
ExtensionTransformer - Class in manifold.ext
 
ExtIssueMsg - Class in manifold
 
ExtIssueMsg() - Constructor for class manifold.ExtIssueMsg
 

F

findTopLevelFqn(String) - Method in class manifold.ext.AbstractExtensionProducer
Overridden because the file's fqn isn't really a type for this type manifold, only the extension classes derived from the files are types this manifold produces.

G

get(TypeVariable) - Method in class manifold.ext.TypeVarToTypeMap
 
getByMatcher(E, TypeVarToTypeMap.ITypeVarMatcher<E>) - Method in class manifold.ext.TypeVarToTypeMap
 
getByString(String) - Method in class manifold.ext.TypeVarToTypeMap
 
getContributorKind() - Method in class manifold.ext.ExtensionManifold
 
getExtendedTypes() - Method in class manifold.ext.AbstractExtensionProducer
 
getExtendedTypes() - Method in interface manifold.ext.IExtensionClassProducer
The set of extension classes this type manifold produces.
getExtendedTypesForFile(IFile) - Method in class manifold.ext.AbstractExtensionProducer
 
getExtendedTypesForFile(IFile) - Method in interface manifold.ext.IExtensionClassProducer
The set of classes extended via {$code file}.
getExtensionClasses(String) - Method in class manifold.ext.AbstractExtensionProducer
 
getExtensionClasses(String) - Method in interface manifold.ext.IExtensionClassProducer
The subset of extension classes this type manifold produces that extend fqn
getFileExt() - Method in class manifold.ext.AbstractExtensionProducer
 
getFiles() - Method in class manifold.ext.Model
 
getFqn() - Method in class manifold.ext.Model
 
getPair(TypeVariable) - Method in class manifold.ext.TypeVarToTypeMap
 
getPeripheralTypes() - Method in class manifold.ext.AbstractExtensionProducer
 
getPeripheralTypes() - Method in class manifold.ext.ExtensionManifold
 
getRoot() - Method in class manifold.ext.api.AbstractDynamicTypeProxy
 
getTypeNameForFile(String, IFile) - Method in class manifold.ext.ExtensionManifold
 
getTypeProcessor() - Method in class manifold.ext.ExtensionTransformer
 
getTypesForFile(IFile) - Method in class manifold.ext.AbstractExtensionProducer
 

H

handlesFile(IFile) - Method in class manifold.ext.ExtensionManifold
 
handlesFileExtension(String) - Method in class manifold.ext.AbstractExtensionProducer
 
handlesFileExtension(String) - Method in class manifold.ext.ExtensionManifold
 

I

ICallHandler - Interface in manifold.ext.api
Facilitates dynamic interface method invocation.
identity() - Static method in interface manifold.util.IndexedFunction
Returns a function that always returns its input argument.
IExtensionClassProducer - Interface in manifold.ext
A type manifold implements this interface if it produces extension classes.
IndexedConsumer<T> - Interface in manifold.util
Indexed version of Consumer
IndexedFunction<T,R> - Interface in manifold.util
Represents a function that accepts an argument and an index for the argument and produces a result.
IndexedPredicate<T> - Interface in manifold.util
 
init(IModuleComponent) - Method in class manifold.ext.AbstractExtensionProducer
 
init(IModuleComponent) - Method in class manifold.ext.ExtensionManifold
 
invokeUnhandled(Object, Class, String, Class, Class[], Object[]) - Static method in class manifold.ext.ExtensionTransformer
Facilitates ICallHandler where the receiver of the method call structurally implements a method, but the association of the structural interface with the receiver is lost.
isEmpty() - Method in class manifold.ext.TypeVarToTypeMap
 
isExtendedType(String) - Method in class manifold.ext.AbstractExtensionProducer
 
isExtendedType(String) - Method in interface manifold.ext.IExtensionClassProducer
Does this type manifold produce extension class[es] for fqn?
isInferredForCovariance(TypeVariable) - Method in class manifold.ext.TypeVarToTypeMap
 
isInnerType(String, String) - Method in class manifold.ext.AbstractExtensionProducer
 
isInnerType(String, String) - Method in class manifold.ext.ExtensionManifold
 
isObjectMethod(Method) - Static method in class manifold.ext.StructuralTypeProxyGenerator
 
isReparsing() - Method in class manifold.ext.TypeVarToTypeMap
 
isStatic - Static variable in annotation type manifold.ext.ExtensionMethod
 
isStructural() - Method in class manifold.ext.TypeVarToTypeMap
 
isStructuralInterface(TypeProcessor, Symbol) - Static method in class manifold.ext.TypeUtil
 

K

keySet() - Method in class manifold.ext.TypeVarToTypeMap
 

M

makeExtensionClassName(String) - Method in class manifold.ext.AbstractExtensionProducer
 
makeProxy(Class<?>, Class<?>, String) - Static method in class manifold.ext.DynamicTypeProxyGenerator
 
makeProxy(Class<?>, Class<?>, String) - Static method in class manifold.ext.StructuralTypeProxyGenerator
 
manifold - package manifold
 
manifold.ext - package manifold.ext
 
manifold.ext.api - package manifold.ext.api
 
manifold.ext.extensions.java.util.Map - package manifold.ext.extensions.java.util.Map
 
manifold.util - package manifold.util
 
MapStructExt - Class in manifold.ext.extensions.java.util.Map
Interface extension for java.util.Map to add ICallHandler support.
MapStructExt() - Constructor for class manifold.ext.extensions.java.util.Map.MapStructExt
 
matches(E, TypeVariable) - Method in interface manifold.ext.TypeVarToTypeMap.ITypeVarMatcher
 
Model - Class in manifold.ext
 
MSG_EXPECTING_EXTENDED_CLASS_NAME - Static variable in class manifold.ExtIssueMsg
 
MSG_EXPECTING_EXTENSIONS_ROOT_PACKAGE - Static variable in class manifold.ExtIssueMsg
 
MSG_EXPECTING_TYPE_FOR_THIS - Static variable in class manifold.ExtIssueMsg
 
MSG_EXTENSION_DUPLICATION - Static variable in class manifold.ExtIssueMsg
 
MSG_EXTENSION_SHADOWS - Static variable in class manifold.ExtIssueMsg
 
MSG_MAYBE_MISSING_THIS - Static variable in class manifold.ExtIssueMsg
 
MSG_MUST_BE_STATIC - Static variable in class manifold.ExtIssueMsg
 
MSG_MUST_NOT_BE_PRIVATE - Static variable in class manifold.ExtIssueMsg
 
MSG_NOT_IN_EXTENSION_CLASS - Static variable in class manifold.ExtIssueMsg
 
MSG_ONLY_STRUCTURAL_INTERFACE_ALLOWED_HERE - Static variable in class manifold.ExtIssueMsg
 
MSG_THIS_FIRST - Static variable in class manifold.ExtIssueMsg
 

N

negate() - Method in interface manifold.util.CharPredicate
Returns a predicate that represents the logical negation of this predicate.
negate() - Method in interface manifold.util.IndexedPredicate
Returns a predicate that represents the logical negation of this predicate.

O

or(CharPredicate) - Method in interface manifold.util.CharPredicate
Returns a composed predicate that represents a short-circuiting logical OR of this predicate and another.
or(IndexedPredicate<? super T>) - Method in interface manifold.util.IndexedPredicate
Returns a composed predicate that represents a short-circuiting logical OR of this predicate and another.

P

process(TypeElement, TypeProcessor, IssueReporter<JavaFileObject>) - Method in class manifold.ext.ExtensionManifold
 
put(TypeVariable, Type) - Method in class manifold.ext.TypeVarToTypeMap
 
put(TypeVariable, Type, boolean) - Method in class manifold.ext.TypeVarToTypeMap
 
putAll(TypeVarToTypeMap) - Method in class manifold.ext.TypeVarToTypeMap
 
putAllAndInferred(TypeVarToTypeMap) - Method in class manifold.ext.TypeVarToTypeMap
 

R

refreshedFile(IFile, String[], RefreshKind) - Method in class manifold.ext.AbstractExtensionProducer
 
remove(TypeVariable) - Method in class manifold.ext.TypeVarToTypeMap
 
removeFile(IFile) - Method in class manifold.ext.Model
 

S

setInferredForCovariance(TypeVariable) - Method in class manifold.ext.TypeVarToTypeMap
 
setReparsing(boolean) - Method in class manifold.ext.TypeVarToTypeMap
 
setStructural(boolean) - Method in class manifold.ext.TypeVarToTypeMap
 
size() - Method in class manifold.ext.TypeVarToTypeMap
 
Structural - Annotation Type in manifold.ext.api
An extension class must be tagged with this annotation.
StructuralTypeProxyGenerator - Class in manifold.ext
Used at runtime to dynamically proxy a type that structurally (as opposed to nominally) implements an interface annotated with @Structural.

T

test(char) - Method in interface manifold.util.CharPredicate
Evaluates this predicate on the given argument.
test(int, T) - Method in interface manifold.util.IndexedPredicate
Evaluates this predicate on the given argument.
This - Annotation Type in manifold.ext.api
 
TypeUtil - Class in manifold.ext
 
TypeUtil() - Constructor for class manifold.ext.TypeUtil
 
TypeVarToTypeMap - Class in manifold.ext
 
TypeVarToTypeMap() - Constructor for class manifold.ext.TypeVarToTypeMap
 
TypeVarToTypeMap(TypeVarToTypeMap) - Constructor for class manifold.ext.TypeVarToTypeMap
 
TypeVarToTypeMap.ITypeVarMatcher<E> - Interface in manifold.ext
 

U

UNHANDLED - Static variable in interface manifold.ext.api.ICallHandler
A value resulting from #call() indicating the call could not be dispatched.
updateFile(IFile) - Method in class manifold.ext.Model
 

V

values() - Method in class manifold.ext.TypeVarToTypeMap
 
visitApply(JCTree.JCMethodInvocation) - Method in class manifold.ext.ExtensionTransformer
Replace all extension method call-sites with static calls to extension methods
visitClassDef(JCTree.JCClassDecl) - Method in class manifold.ext.ExtensionTransformer
 
visitIdent(JCTree.JCIdent) - Method in class manifold.ext.ExtensionTransformer
Erase all structural interface type literals to Object
visitLambda(JCTree.JCLambda) - Method in class manifold.ext.ExtensionTransformer
 
visitMethodDef(JCTree.JCMethodDecl) - Method in class manifold.ext.ExtensionTransformer
Issue errors/warnings if an extension method violates extension method grammar or conflicts with an existing method
visitSelect(JCTree.JCFieldAccess) - Method in class manifold.ext.ExtensionTransformer
Erase all structural interface type literals to Object
visitTypeCast(JCTree.JCTypeCast) - Method in class manifold.ext.ExtensionTransformer
 
A C D E F G H I K M N O P R S T U V 
Skip navigation links

Copyright © 2018. All rights reserved.