MCPcopy Create free account

hub / github.com/SpongePowered/Mixin / functions

Functions3,632 in github.com/SpongePowered/Mixin

↓ 15 callersMethodgetMessager
Get the current messager. If no messager is available the returned Messager sinks messages to a log4j2 logger
src/main/java/org/spongepowered/asm/util/logging/MessageRouter.java:148
↓ 15 callersMethodgetTargetElement
Returns the actual element (returns simulated value for imaginary elements)
src/ap/java/org/spongepowered/tools/obfuscation/mirror/TypeHandle.java:162
↓ 15 callersMethodisInterface
Get whether this is an interface or not
src/main/java/org/spongepowered/asm/mixin/transformer/ClassInfo.java:1042
↓ 15 callersMethodsize
Get the number of instructions in the extracted initialiser
src/main/java/org/spongepowered/asm/mixin/transformer/struct/Initialiser.java:157
↓ 14 callersMethodextendStack
Creates a new stack extension. The returned object can be used to create extensions to the method stack for an injector to use. Extensions are not des
src/main/java/org/spongepowered/asm/mixin/injection/struct/Target.java:386
↓ 14 callersMethodfindClass
Find a class in the service classloader @param name class name @return resultant class @throws ClassNotFoundException if the class was not found
src/main/java/org/spongepowered/asm/service/IClassProvider.java:50
↓ 14 callersMethodgetElementDescription
Get a human-readable description of the annotation on the method for use in error messages
src/main/java/org/spongepowered/asm/mixin/injection/selectors/ISelectorContext.java:91
↓ 14 callersMethodgetInvisible
Get an invisible annotation of the specified class from the supplied field node @param field Source field @param annotationClass Type of annotation t
src/main/java/org/spongepowered/asm/util/Annotations.java:315
↓ 14 callersMethodgetOption
Fetch the value of the specified option, if available @param option Name of the option to fetch @return Option value or null if absent
src/ap/java/org/spongepowered/tools/obfuscation/interfaces/IOptionProvider.java:40
↓ 14 callersMethodgetTypeHandle
Generate a type handle for the specified type @param name Type name (class name) @return A new type handle or null if the type could not be found
src/ap/java/org/spongepowered/tools/obfuscation/interfaces/ITypeHandleProvider.java:42
↓ 14 callersMethodisStatic
Returns true if the supplied method node is static @param method method node @return true if the method has the {@link Opcodes#ACC_STATIC} flag
src/main/java/org/spongepowered/asm/util/Bytecode.java:603
↓ 13 callersMethodadd
(AbstractInsnNode insn)
src/main/java/org/spongepowered/asm/mixin/injection/code/InsnListReadOnly.java:67
↓ 13 callersMethodgetAnnotation
Get the root annotation for the selector, for example the injector or accessor annotation
src/main/java/org/spongepowered/asm/mixin/injection/selectors/ISelectorContext.java:59
↓ 13 callersMethodgetClassProvider
Return the class provider for this service. <b>This component is required and services must not return <tt>null</tt>.</b>
src/main/java/org/spongepowered/asm/service/IMixinService.java:104
↓ 13 callersMethodgetDescriptor
()
src/main/java/org/spongepowered/asm/mixin/injection/callback/CallbackInjector.java:226
↓ 13 callersMethodgetReferenceMapper
Get the reference mapper for this mixin @return ReferenceMapper instance (can be null)
src/main/java/org/spongepowered/asm/mixin/refmap/IMixinContext.java:79
↓ 13 callersMethodlog
(String message, Object... params)
src/main/java/org/spongepowered/asm/mixin/injection/points/BeforeConstant.java:309
↓ 13 callersMethodname
()
src/modlauncher/java/org/spongepowered/asm/launch/MixinLaunchPluginLegacy.java:80
↓ 13 callersMethodquench
Set the current kind to a lower kind, but only if the level has not been set manually by the user. Used when an IDE is detected to selectively lower t
src/ap/java/org/spongepowered/tools/obfuscation/interfaces/IMessagerEx.java:338
↓ 13 callersMethodregisterBuiltIn
Register a built-in injection point class. Skips validation and namespacing checks @param type injection point type to register
src/main/java/org/spongepowered/asm/mixin/injection/InjectionPoint.java:981
↓ 13 callersMethodsupports
Get whether the specified {@link LanguageFeatures} is supported by this runtime. @param languageFeatures language feature (or features) to check @ret
src/main/java/org/spongepowered/asm/mixin/MixinEnvironment.java:950
↓ 13 callersMethodvalidate
Perform basic sanity-check validation of the selector, checks that the parsed out parameters are basically sane @return fluent (this selector) @thro
src/main/java/org/spongepowered/asm/mixin/injection/selectors/ITargetSelector.java:206
↓ 12 callersMethodapply
Apply this extension to the target. This reduces the current size to zero so that a new operation can begin if required.
src/main/java/org/spongepowered/asm/mixin/injection/struct/Target.java:149
↓ 12 callersMethodclear
Clear this mapping provider, used to ensure the internal data is cleared before beginning a {@link #read}
src/ap/java/org/spongepowered/tools/obfuscation/mapping/IMappingProvider.java:46
↓ 12 callersMethodgetClassLoader
Get the classloader
src/launchwrapper/java/org/spongepowered/asm/service/mojang/LaunchClassLoaderUtil.java:76
↓ 12 callersMethodgetDataProvider
Get the obfuscation mapping source
src/ap/java/org/spongepowered/tools/obfuscation/interfaces/IObfuscationManager.java:45
↓ 12 callersMethodgetTotalTime
Get the current time in milliseconds in all phases
src/main/java/org/spongepowered/asm/util/perf/Profiler.java:240
↓ 12 callersMethodhandleOf
Get the supplied annotation object as an annotation handle @param annotation Annotation to return @return Wrapped or cast annotation
src/main/java/org/spongepowered/asm/util/Annotations.java:169
↓ 12 callersMethodinsert
Insert the supplied instructions after the specified instruction @param location Instruction to insert before @param insns Instructions to insert
src/main/java/org/spongepowered/asm/mixin/injection/struct/Target.java:682
↓ 12 callersMethodinsertBefore
Insert the supplied instructions before the specified instruction @param location Instruction to insert before @param insns Instructions to insert
src/main/java/org/spongepowered/asm/mixin/injection/struct/Target.java:722
↓ 12 callersMethodof
Get or create a new global property key @param name name of key to get or create @return new or existing key
src/main/java/org/spongepowered/asm/launch/GlobalProperties.java:87
↓ 12 callersMethodparse
Parse a collection of target selector representations (strings, annotations, class literals) into selectors. @param selectors Selectors to parse @par
src/main/java/org/spongepowered/asm/mixin/injection/selectors/TargetSelector.java:324
↓ 12 callersMethodpushArgs
Load args onto the stack from their positions allocated in argMap @param args argument types @param insns instruction list to generate insns into @pa
src/main/java/org/spongepowered/asm/mixin/injection/code/Injector.java:557
↓ 12 callersMethodsize
()
src/main/java/org/spongepowered/asm/mixin/injection/selectors/TargetSelectors.java:177
↓ 11 callersMethodadd
(List<AnnotationNode> annotations, AnnotationNode node)
src/main/java/org/spongepowered/asm/util/Annotations.java:285
↓ 11 callersMethodforType
Return a ClassInfo for the specified class type, fetches the ClassInfo from the cache where possible and generates the class meta if not. @param type
src/main/java/org/spongepowered/asm/mixin/transformer/ClassInfo.java:2053
↓ 11 callersMethodget
Get a value from the blackboard and duck-type it to the specified type @param key blackboard key @param <T> duck type @return value
src/main/java/org/spongepowered/asm/launch/GlobalProperties.java:120
↓ 11 callersMethodget
Search for and return an annotation node matching the specified type within the supplied collection of annotation nodes @param annotations Haystack @
src/main/java/org/spongepowered/asm/util/Annotations.java:453
↓ 11 callersMethodgetDecoration
Get the specified decoration @param key meta key @param <V> value type @return decoration value or null if absent
src/main/java/org/spongepowered/asm/mixin/injection/code/IInsnListEx.java:122
↓ 11 callersMethodgetMessage
()
src/main/java/org/spongepowered/asm/logging/LoggerAdapterAbstract.java:86
↓ 11 callersMethodgetProfiler
Get the specified performance profiler @param id Profiler id @return profiler
src/main/java/org/spongepowered/asm/util/perf/Profiler.java:1151
↓ 11 callersMethodgetTargets
Get targets for this configuration @return target classes of mixins in this config
src/main/java/org/spongepowered/asm/mixin/extensibility/IMixinConfig.java:105
↓ 10 callersMethodaddTypeArgument
Add a type argument to this symbol @param symbol argument to add @return new token
src/main/java/org/spongepowered/asm/util/ClassSignature.java:329
↓ 10 callersMethodfindMethod
Find a member method in this type which matches the name and declared type of the supplied element @param element Element to match @return handle to
src/ap/java/org/spongepowered/tools/obfuscation/mirror/TypeHandle.java:422
↓ 10 callersMethodgetJavaSignature
Get a java-style signature for the specified element (return type follows args) eg: <pre>(int,int)boolean</pre> @param element element to generate j
src/ap/java/org/spongepowered/tools/obfuscation/mirror/TypeUtils.java:250
↓ 10 callersMethodgetStatus
Get a user-readable "status" string for this refmap for use in error messages @return status message
src/main/java/org/spongepowered/asm/mixin/refmap/IReferenceMapper.java:54
↓ 10 callersMethodgetSuperClass
Get the superclass info, can return null if the superclass cannot be resolved
src/main/java/org/spongepowered/asm/mixin/transformer/ClassInfo.java:1106
↓ 10 callersMethodgetTargetClassRef
Get the internal name of the target class for this context @return internal target class name
src/main/java/org/spongepowered/asm/mixin/refmap/IMixinContext.java:72
↓ 10 callersMethodinject
Called from <tt>inject</tt> in the parent tweaker
src/main/java/org/spongepowered/asm/launch/platform/IMixinPlatformAgent.java:99
↓ 10 callersMethodinvokeHandler
Invoke the handler method @param insns Instruction list to inject into @return injected insn node
src/main/java/org/spongepowered/asm/mixin/injection/code/Injector.java:435
↓ 10 callersMethodisDefault
Get whether this mapper is defaulted. Use this flag rather than reference comparison to {@link ReferenceMapper#DEFAULT_MAPPER} because of classloader
src/main/java/org/spongepowered/asm/mixin/refmap/IReferenceMapper.java:39
↓ 10 callersMethodisImaginary
Get whether the element is imaginary (inaccessible via mirror or classpath)
src/ap/java/org/spongepowered/tools/obfuscation/mirror/TypeHandle.java:277
↓ 10 callersMethodprintMessage
Print a message to the AP messager
src/ap/java/org/spongepowered/tools/obfuscation/AnnotatedMixins.java:548
↓ 9 callersMethodclear
Helper function to clear a list if it is not null
src/main/java/org/spongepowered/asm/util/Bytecode.java:1386
↓ 9 callersMethodexists
Get whether the annotation inside the handle actually exists, if the contained element is null, returns false. @return true if the annotation exists
src/main/java/org/spongepowered/asm/util/asm/IAnnotationHandle.java:47
↓ 9 callersMethodget
Fetch the slice with the specified id, returns null if no slice with the supplied id is available @param id slice id @return matching slice or null
src/main/java/org/spongepowered/asm/mixin/injection/code/MethodSlices.java:81
↓ 9 callersMethodgetClassNode
Get the class tree
src/main/java/org/spongepowered/asm/mixin/transformer/ext/ITargetClassContext.java:44
↓ 9 callersMethodgetList
Retrieve the annotation value as a list with values of the specified type. Returns an empty list if the value is not present or not set. @param <T> l
src/main/java/org/spongepowered/asm/util/asm/IAnnotationHandle.java:140
↓ 9 callersMethodgetName
()
src/main/java/org/spongepowered/asm/mixin/struct/MemberRef.java:92
↓ 9 callersMethodgetSimpleName
Returns the simple name of an annotation, mainly used for printing annotation names in error messages/user-facing strings @param annotationType annot
src/main/java/org/spongepowered/asm/util/Annotations.java:198
↓ 9 callersMethodlog
Wrapper for logger since we can't access the log abstraction in premain @param level the logging level @param message the message to log @param param
src/agent/java/org/spongepowered/tools/agent/MixinAgent.java:238
↓ 9 callersMethodmove
Create a clone of this mapping with a new owner @param newOwner new owner @return cloned mapping
src/main/java/org/spongepowered/asm/obfuscation/mapping/IMapping.java:55
↓ 9 callersMethodprepend
Decorate this exception with additional upstream activity context @param upstreamContext Upstream activity stack to decorate
src/main/java/org/spongepowered/asm/mixin/throwables/MixinException.java:71
↓ 9 callersMethodprint
Append this objec to specified pretty printer @param printer printer to append to
src/main/java/org/spongepowered/asm/util/PrettyPrinter.java:56
↓ 9 callersMethodtoArray
()
src/main/java/org/spongepowered/asm/mixin/injection/code/InsnListReadOnly.java:168
↓ 9 callersMethodvalidateParams
Collects all the logic from old validateParams/checkDescriptor so that we can consistently apply coercion logic to method params, and also provide mor
src/main/java/org/spongepowered/asm/mixin/injection/code/Injector.java:598
↓ 9 callersMethodvisit
Called when the resolver visits a coordinate on the specified member @param coordinate coordinate being visited @param element element being visited
src/main/java/org/spongepowered/asm/mixin/injection/selectors/dynamic/DescriptorResolver.java:210
↓ 8 callersMethodadd
Add a nested container to this virtual container @param nested Nested container to add @return fluent
src/main/java/org/spongepowered/asm/launch/platform/container/ContainerHandleVirtual.java:100
↓ 8 callersMethodaddLine
(Object line)
src/main/java/org/spongepowered/asm/util/PrettyPrinter.java:914
↓ 8 callersMethodaddMessage
Add a new message @param format Message format @param args Message args
src/main/java/org/spongepowered/asm/util/IMessageSink.java:38
↓ 8 callersMethodcheckTargetModifiers
Check that the <tt>static</tt> modifier of the target method matches the handler @param target Target to check @param exactMatch True if static must
src/main/java/org/spongepowered/asm/mixin/injection/code/Injector.java:366
↓ 8 callersMethodget
Get a tracked node from this collection if it already exists, returns null if the node is not tracked @param node instruction node @return wrapper no
src/main/java/org/spongepowered/asm/mixin/injection/struct/InjectionNodes.java:256
↓ 8 callersMethodgetAnnotationNode
Get the parent annotation (eg. the &#064;Inject annotation)
src/main/java/org/spongepowered/asm/mixin/injection/IInjectionPointContext.java:47
↓ 8 callersMethodgetArgIndices
Get the argument indices for this target, calculated on first use @return argument indices for this target
src/main/java/org/spongepowered/asm/mixin/injection/struct/Target.java:519
↓ 8 callersMethodgetCurrentEnvironment
Gets the current environment @return the currently active environment
src/main/java/org/spongepowered/asm/mixin/MixinEnvironment.java:1751
↓ 8 callersMethodgetElementType
(Type type)
src/main/java/org/spongepowered/asm/util/SignaturePrinter.java:324
↓ 8 callersMethodgetOwner
()
src/main/java/org/spongepowered/asm/obfuscation/mapping/common/MappingMethod.java:69
↓ 8 callersMethodgetQualifiedName
()
src/main/java/org/spongepowered/asm/util/asm/MethodNodeEx.java:50
↓ 8 callersMethodgetReferenceManager
Get the reference manager
src/ap/java/org/spongepowered/tools/obfuscation/interfaces/IObfuscationManager.java:50
↓ 8 callersMethodgetTargetName
Get the name of the target method
src/main/java/org/spongepowered/asm/mixin/injection/code/IInsnListEx.java:65
↓ 8 callersMethodgetThrowable
()
src/main/java/org/spongepowered/asm/logging/LoggerAdapterAbstract.java:94
↓ 8 callersMethodgetVisibility
Returns the <i>ordinal visibility</i> of the supplied argument where a higher value equals higher "visibility": <ol start="0"> <li>{@link Visibilit
src/main/java/org/spongepowered/asm/util/Bytecode.java:1089
↓ 8 callersMethodhasSuperClass
Test whether this class has the specified superclass in its hierarchy @param superClass Superclass to search for in the hierarchy @return true if the
src/main/java/org/spongepowered/asm/mixin/transformer/ClassInfo.java:1263
↓ 8 callersMethodhasThrowable
()
src/main/java/org/spongepowered/asm/logging/LoggerAdapterAbstract.java:90
↓ 8 callersMethodisEnabled
Get whether this message type is enabled
src/ap/java/org/spongepowered/tools/obfuscation/interfaces/IMessagerEx.java:347
↓ 8 callersMethodname
Get the base name
src/ap/java/org/spongepowered/tools/obfuscation/AnnotatedMixinElementHandler.java:340
↓ 8 callersMethodparse
Parse a version number specified as a string @param version Version number to parse @return Version number
src/main/java/org/spongepowered/asm/util/VersionNumber.java:199
↓ 8 callersMethodparseInt
(String string, int defaultValue)
src/main/java/org/spongepowered/asm/mixin/injection/struct/InjectionPointData.java:463
↓ 8 callersMethodtransformSingleDescriptor
(Type type)
src/main/java/org/spongepowered/asm/mixin/transformer/MixinTargetContext.java:949
↓ 8 callersMethodvisitConstant
Visit a byte constant instruction. The most specific constant instruction will be used where possible @param constant constant value to visit
src/main/java/org/spongepowered/asm/util/asm/MethodVisitorEx.java:46
↓ 8 callersMethodvisitEnd
()
src/main/java/org/spongepowered/asm/util/ClassSignature.java:826
↓ 8 callersMethodwrite
Instruct this writer to write the supplied collection of field and method mappings to the output resource @param output path to output resource @para
src/ap/java/org/spongepowered/tools/obfuscation/mapping/IMappingWriter.java:46
↓ 7 callersMethodcontains
Get whether this collection contains a mapping for the specified insn @param node instruction node to check @return true if a wrapper exists for the
src/main/java/org/spongepowered/asm/mixin/injection/struct/InjectionNodes.java:271
↓ 7 callersMethoddescribeNode
Gets a description of the supplied node for debugging purposes @param node node to describe @return human-readable description of node
src/main/java/org/spongepowered/asm/util/Bytecode.java:427
↓ 7 callersMethodget
Retrieve the value of attribute with the specified name, or null if not present @param name attribute name @return attribute value or null if not pre
src/main/java/org/spongepowered/asm/launch/platform/MainAttributes.java:76
↓ 7 callersMethodgetAnnotationList
Retrieve an annotation key as a list of annotation handles @param key key to fetch @return list of annotations
src/main/java/org/spongepowered/asm/util/asm/IAnnotationHandle.java:60
↓ 7 callersMethodgetArgsSize
Get the size of the specified args array in local variable terms (eg. doubles and longs take two spaces) @param args Method argument types as array @
src/main/java/org/spongepowered/asm/util/Bytecode.java:654
↓ 7 callersMethodgetAttribute
Retrieve the value of attribute with the specified name, or null if not present @param name attribute name @return attribute value or null if not pre
src/main/java/org/spongepowered/asm/launch/platform/container/IContainerHandle.java:46
↓ 7 callersMethodgetContext
Get the current context @return current context key, can be null
src/main/java/org/spongepowered/asm/mixin/refmap/IReferenceMapper.java:61
↓ 7 callersMethodgetDesc
()
src/main/java/org/spongepowered/asm/obfuscation/mapping/common/MappingMethod.java:74
← previousnext →101–200 of 3,632, ranked by callers