Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SpongePowered/Mixin
/ functions
Functions
3,632 in github.com/SpongePowered/Mixin
⨍
Functions
3,632
◇
Types & classes
548
↓ 7 callers
Method
getEnvironment
Get the mixin environment for the specified phase @param phase phase to fetch environment for @return the environment
src/main/java/org/spongepowered/asm/mixin/MixinEnvironment.java:1730
↓ 7 callers
Method
getMinMatchCount
Minimum number of candidates this selector must match
src/main/java/org/spongepowered/asm/mixin/injection/selectors/ITargetSelector.java:222
↓ 7 callers
Method
getMixin
Get a registered mixin
src/ap/java/org/spongepowered/tools/obfuscation/AnnotatedMixins.java:363
↓ 7 callers
Method
getNew
()
src/ap/java/org/spongepowered/tools/obfuscation/Mappings.java:59
↓ 7 callers
Method
getOld
()
src/ap/java/org/spongepowered/tools/obfuscation/Mappings.java:55
↓ 7 callers
Method
getPlatform
Get the platform manager
src/main/java/org/spongepowered/asm/launch/MixinBootstrap.java:110
↓ 7 callers
Method
getPriority
Get the priority of the mixin
src/main/java/org/spongepowered/asm/mixin/refmap/IMixinContext.java:93
↓ 7 callers
Method
getState
Current state, either the validated state or the uninitialised state if the mixin is initialising for the first time. Should never return null.
src/main/java/org/spongepowered/asm/mixin/transformer/MixinInfo.java:1086
↓ 7 callers
Method
getTarget
Get the target reference
src/main/java/org/spongepowered/asm/mixin/injection/code/InjectorTarget.java:145
↓ 7 callers
Method
getTargetClassNode
Get the target class node for this injection @return the class containing the injector and the target
src/main/java/org/spongepowered/asm/mixin/struct/SpecialMethodInfo.java:70
↓ 7 callers
Method
getTypeName
Get the type name for the specified type @param type type mirror @return type name
src/ap/java/org/spongepowered/tools/obfuscation/mirror/TypeUtils.java:302
↓ 7 callers
Method
getTypeProvider
Get the type handle provider
src/ap/java/org/spongepowered/tools/obfuscation/interfaces/IMixinAnnotationProcessor.java:174
↓ 7 callers
Method
getValidationClassNode
()
src/main/java/org/spongepowered/asm/mixin/transformer/MixinInfo.java:270
↓ 7 callers
Method
isMixin
Get whether this class is a mixin
src/main/java/org/spongepowered/asm/mixin/transformer/ClassInfo.java:957
↓ 7 callers
Method
isUnique
True if this mixin is decorated with {@link Unique}
src/main/java/org/spongepowered/asm/mixin/transformer/MixinInfo.java:1165
↓ 7 callers
Method
replaceNode
Replace an instruction in this target with the specified instruction and mark the node as replaced for other injectors @param location Instruction to
src/main/java/org/spongepowered/asm/mixin/injection/struct/Target.java:763
↓ 7 callers
Method
set
Set the semaphore @return fluent interface
src/main/java/org/spongepowered/asm/util/ReEntranceLock.java:115
↓ 7 callers
Method
size
()
src/main/java/org/spongepowered/asm/mixin/injection/code/InsnListReadOnly.java:178
↓ 7 callers
Method
transformDescriptor
Transforms a field descriptor in the context of this mixin target @param field Field node to transform
src/main/java/org/spongepowered/asm/mixin/transformer/MixinTargetContext.java:894
↓ 7 callers
Method
visitMethod
(final int access, final String name, final String desc, final String signature, final String[] exceptions)
src/main/java/org/spongepowered/asm/mixin/transformer/MixinInfo.java:182
↓ 6 callers
Method
allocateLocals
Allocate a number of new local variables for this method, returns the first local variable index of the allocated range. <p>Note that <b>allocating</
src/main/java/org/spongepowered/asm/mixin/injection/struct/Target.java:360
↓ 6 callers
Method
apply
Apply this offset collection to the supplied argument array @param args New arguments @return Unmapped arguments
src/main/java/org/spongepowered/asm/mixin/injection/struct/ArgOffsets.java:184
↓ 6 callers
Method
asToken
Return this token as a hard token object
src/main/java/org/spongepowered/asm/util/ClassSignature.java:153
↓ 6 callers
Method
changeDescriptorReturnType
Changes the return type of a method descriptor to the specified symbol @param desc descriptor to modify @param returnType new return type @return mod
src/main/java/org/spongepowered/asm/util/Bytecode.java:893
↓ 6 callers
Method
checkTargetForNode
The normal staticness check is not location-aware, in that it merely enforces static modifiers of handlers to match their targets. For injecting into
src/main/java/org/spongepowered/asm/mixin/injection/code/Injector.java:386
↓ 6 callers
Method
configure
Configure and return a modified version of this selector by consuming the supplied arguments. Results from this method should be idempotent in terms o
src/main/java/org/spongepowered/asm/mixin/injection/selectors/ITargetSelector.java:196
↓ 6 callers
Method
describe
()
src/main/java/org/spongepowered/asm/mixin/injection/code/MethodSlice.java:456
↓ 6 callers
Method
equals
(Object obj)
src/main/java/org/spongepowered/asm/obfuscation/mapping/common/MappingField.java:108
↓ 6 callers
Method
findMethodInHierarchy
Finds the specified private or protected method in this class's hierarchy @param method Method to search for @param searchType Search strategy to use
src/main/java/org/spongepowered/asm/mixin/transformer/ClassInfo.java:1573
↓ 6 callers
Method
get
Returns the node with horrible duck typing
src/main/java/org/spongepowered/asm/mixin/injection/selectors/ElementNode.java:599
↓ 6 callers
Method
getDesc
()
src/main/java/org/spongepowered/asm/obfuscation/mapping/common/MappingField.java:73
↓ 6 callers
Method
getId
Get the ID of the resolved descriptor, should match the query
src/main/java/org/spongepowered/asm/mixin/injection/selectors/dynamic/IResolvedDescriptor.java:64
↓ 6 callers
Method
getLocalVariableAt
Attempts to locate the appropriate entry in the local variable table for the specified local variable index at the location specified by node. @param
src/main/java/org/spongepowered/asm/util/Locals.java:609
↓ 6 callers
Method
getMappingMethod
Return a method as a remapping candidate, usually returns a method owned by this class but for simulated handles we resolve the reference in the class
src/ap/java/org/spongepowered/tools/obfuscation/mirror/TypeHandle.java:334
↓ 6 callers
Method
getName
Get the section name
src/main/java/org/spongepowered/asm/util/perf/Profiler.java:155
↓ 6 callers
Method
getObfMethod
Get an obfuscation mapping for a method, returns null if no mapping exists for the specified method in this environment. @param method method to loca
src/ap/java/org/spongepowered/tools/obfuscation/interfaces/IObfuscationEnvironment.java:48
↓ 6 callers
Method
getOption
Get the specified option from the current environment @param option Option to get @return Option value
src/main/java/org/spongepowered/asm/mixin/MixinEnvironment.java:1576
↓ 6 callers
Method
getOption
(String option)
src/ap/java/org/spongepowered/tools/obfuscation/AnnotatedMixins.java:266
↓ 6 callers
Method
getOriginalName
()
src/main/java/org/spongepowered/asm/mixin/transformer/InnerClassGenerator.java:131
↓ 6 callers
Method
getOwner
()
src/main/java/org/spongepowered/asm/obfuscation/mapping/common/MappingField.java:68
↓ 6 callers
Method
getResource
(MixinEnvironment env)
src/main/java/org/spongepowered/asm/mixin/refmap/RemappingReferenceMapper.java:273
↓ 6 callers
Method
getSelectorCoordinate
Get the coordinate for this selector. This is the local coordinate of the selector without any parent parts. Parent parts are prepended by consumers d
src/main/java/org/spongepowered/asm/mixin/injection/selectors/ISelectorContext.java:74
↓ 6 callers
Method
getSimpleName
()
src/main/java/org/spongepowered/asm/obfuscation/mapping/common/MappingMethod.java:64
↓ 6 callers
Method
getSuperclass
Returns the enclosed element's superclass if available, or null if this class does not have a superclass
src/ap/java/org/spongepowered/tools/obfuscation/mirror/TypeHandle.java:216
↓ 6 callers
Method
getTime
Get the current time in milliseconds in the current phase
src/main/java/org/spongepowered/asm/util/perf/Profiler.java:233
↓ 6 callers
Method
getUpperBound
(TypeMirror type)
src/ap/java/org/spongepowered/tools/obfuscation/mirror/TypeUtils.java:440
↓ 6 callers
Method
has
(int index)
src/main/java/org/spongepowered/asm/util/ConstraintParser.java:192
↓ 6 callers
Method
isAssignableFrom
(final Type type, final Type other)
src/main/java/org/spongepowered/asm/util/asm/MixinVerifier.java:69
↓ 6 callers
Method
isEnabled
()
src/main/java/org/spongepowered/asm/mixin/MixinEnvironment.java:1096
↓ 6 callers
Method
isMultiTarget
Get whether this is a multi-target mixin
src/ap/java/org/spongepowered/tools/obfuscation/AnnotatedMixin.java:357
↓ 6 callers
Method
isRenamed
()
src/main/java/org/spongepowered/asm/mixin/transformer/ClassInfo.java:369
↓ 6 callers
Method
of
Return a wrapper AccessorInfo of the correct type based on the method passed in. @param mixin mixin context which owns this accessor @param method an
src/main/java/org/spongepowered/asm/mixin/gen/AccessorInfo.java:532
↓ 6 callers
Method
of
(Object target, MixinInfo info)
src/main/java/org/spongepowered/asm/mixin/transformer/MixinInfo.java:717
↓ 6 callers
Method
postApply
Called after the mixins are applied @param context Target class context
src/main/java/org/spongepowered/asm/mixin/transformer/ext/IExtension.java:55
↓ 6 callers
Method
preApply
Called before the mixins are applied @param context Target class context
src/main/java/org/spongepowered/asm/mixin/transformer/ext/IExtension.java:48
↓ 6 callers
Method
printMessage
Print a message to the AP messager
src/ap/java/org/spongepowered/tools/obfuscation/AnnotatedMixin.java:277
↓ 6 callers
Method
register
Register an injector info class. The supplied class must be decorated with an {@link AnnotationType} annotation for registration purposes. @param typ
src/main/java/org/spongepowered/asm/mixin/injection/struct/InjectionInfo.java:721
↓ 6 callers
Method
renameTo
@param name new name @return the passed-in argument, for fluency
src/main/java/org/spongepowered/asm/mixin/transformer/ClassInfo.java:438
↓ 6 callers
Method
resolve
(IAnnotationHandle desc, ISelectorContext context)
src/main/java/org/spongepowered/asm/mixin/injection/selectors/dynamic/DescriptorResolver.java:286
↓ 6 callers
Method
setVisible
Set a runtime-visible annotation of the specified class on the supplied field node @param field Target field @param annotationClass Type of annotatio
src/main/java/org/spongepowered/asm/util/Annotations.java:221
↓ 6 callers
Method
shouldRemap
(AnnotatedMixin mixinClass, AnnotationHandle annotation)
src/ap/java/org/spongepowered/tools/obfuscation/AnnotatedMixins.java:531
↓ 6 callers
Method
tr
Print a table row with the specified values. If more columns are specified than exist in the table, then the table is automatically expanded. @param
src/main/java/org/spongepowered/asm/util/PrettyPrinter.java:563
↓ 5 callers
Method
addFieldMapping
Add a field mapping to this consumer. @param type obfuscation type for this entry @param from source mapping @param to destination mapping
src/ap/java/org/spongepowered/tools/obfuscation/mapping/IMappingConsumer.java:110
↓ 5 callers
Method
addMethodMapping
Add a method mapping to this consumer. @param type obfuscation type for this entry @param from source mapping @param to destination mapping
src/ap/java/org/spongepowered/tools/obfuscation/mapping/IMappingConsumer.java:119
↓ 5 callers
Method
addMixinMethod
(MethodNode method)
src/main/java/org/spongepowered/asm/mixin/transformer/MixinTargetContext.java:240
↓ 5 callers
Method
create
Factory method, create a config from the specified config file and fail over to the specified environment if no selector is present in the config @pa
src/main/java/org/spongepowered/asm/mixin/transformer/Config.java:155
↓ 5 callers
Method
create
Create a TargetMap for the specified session id. Generate new map if the session id is invalid or the file cannot be read. Session ID can be null @pa
src/ap/java/org/spongepowered/tools/obfuscation/TargetMap.java:253
↓ 5 callers
Method
decorate
Decorate this node with arbitrary metadata for injector arbitration @param key meta key @param value meta value @param <V> value type
src/main/java/org/spongepowered/asm/mixin/injection/struct/InjectionNodes.java:165
↓ 5 callers
Method
elem
(int index)
src/main/java/org/spongepowered/asm/util/ConstraintParser.java:196
↓ 5 callers
Method
equals
(Object other)
src/main/java/org/spongepowered/asm/launch/platform/container/ContainerHandleURI.java:103
↓ 5 callers
Method
export
Called when a class needs to be exported @param env Environment @param name Class name @param force True to export even if the current environment se
src/main/java/org/spongepowered/asm/mixin/transformer/ext/IExtension.java:66
↓ 5 callers
Method
find
... @param injectorTarget Target method to inject into @param injectionPoints InjectionPoint instances which will identify target insns in the t
src/main/java/org/spongepowered/asm/mixin/injection/code/Injector.java:244
↓ 5 callers
Method
findOffsetName
Find an offset name for a single-char typevar. @param c type var @param typeVars existing type var @return offset type var or null if var could not b
src/main/java/org/spongepowered/asm/util/ClassSignature.java:1219
↓ 5 callers
Method
getAnnotationValue
()
src/ap/java/org/spongepowered/tools/obfuscation/AnnotatedMixinElementHandlerAccessor.java:175
↓ 5 callers
Method
getArgIndex
Compute the argument index for the specified new index @param index The new index to compute @return The original index based on this mapping
src/main/java/org/spongepowered/asm/mixin/injection/struct/ArgOffsets.java:158
↓ 5 callers
Method
getAtCode
()
src/main/java/org/spongepowered/asm/mixin/injection/InjectionPoint.java:924
↓ 5 callers
Method
getCodeSource
()
src/main/java/org/spongepowered/asm/mixin/MixinEnvironment.java:1377
↓ 5 callers
Method
getConfig
Get the config to which this mixin belongs @return the mixin config
src/main/java/org/spongepowered/asm/mixin/extensibility/IMixinInfo.java:42
↓ 5 callers
Method
getDefaultEnvironment
Gets the default environment @return the {@link Phase#DEFAULT DEFAULT} environment
src/main/java/org/spongepowered/asm/mixin/MixinEnvironment.java:1742
↓ 5 callers
Method
getDefaultLoggerName
()
src/main/java/org/spongepowered/asm/util/PrettyPrinter.java:1169
↓ 5 callers
Method
getDynamicInfo
Get info from a decorating {@link Dynamic} annotation. If the annotation is present, a descriptive string suitable for inclusion in an error message i
src/main/java/org/spongepowered/asm/mixin/struct/AnnotatedMethodInfo.java:198
↓ 5 callers
Method
getElementType
Convenience method to convert element to string representation for error messages @param element Element to inspect @return string representation of
src/ap/java/org/spongepowered/tools/obfuscation/mirror/TypeUtils.java:183
↓ 5 callers
Method
getEnclosedElements
Returns enclosed elements (methods, fields, etc.)
src/ap/java/org/spongepowered/tools/obfuscation/mirror/TypeHandle.java:180
↓ 5 callers
Method
getExpectedPrefixes
Returns all the expected prefixes for this accessor type as a string for debugging/error message purposes @return string representation of expected p
src/main/java/org/spongepowered/asm/mixin/gen/AccessorInfo.java:133
↓ 5 callers
Method
getExtensions
Get the transformer extensions
src/main/java/org/spongepowered/asm/mixin/transformer/IMixinTransformer.java:125
↓ 5 callers
Method
getField
(LaunchClassLoader classLoader, String fieldName)
src/launchwrapper/java/org/spongepowered/asm/service/mojang/LaunchClassLoaderUtil.java:192
↓ 5 callers
Method
getInterfaces
Returns the answer to life, the universe and everything
src/main/java/org/spongepowered/asm/mixin/transformer/ClassInfo.java:1049
↓ 5 callers
Method
getInterfaces
Get interfaces directly implemented by this type
src/ap/java/org/spongepowered/tools/obfuscation/mirror/TypeHandle.java:233
↓ 5 callers
Method
getLoggingLevel
Get the logging level for this mixin
src/main/java/org/spongepowered/asm/mixin/transformer/MixinInfo.java:1200
↓ 5 callers
Method
getMethodName
Get the original name of the method, if available
src/main/java/org/spongepowered/asm/mixin/struct/SpecialMethodInfo.java:91
↓ 5 callers
Method
getName
Get the name from the resolved descriptor, returns an empty string if the descriptor was not resolved.
src/main/java/org/spongepowered/asm/mixin/injection/selectors/dynamic/IResolvedDescriptor.java:76
↓ 5 callers
Method
getNestMembers
(ClassNode classNode)
src/main/java/org/spongepowered/asm/util/asm/ClassNodeAdapter.java:83
↓ 5 callers
Method
getOrdinal
Get the ordinal specified on the injection point
src/main/java/org/spongepowered/asm/mixin/injection/struct/InjectionPointData.java:351
↓ 5 callers
Method
getPackage
If the supplied type is a {@link DeclaredType}, return the package in which it is declared @param type type to find package for @return package for s
src/ap/java/org/spongepowered/tools/obfuscation/mirror/TypeUtils.java:156
↓ 5 callers
Method
getPhase
Get the mixin phase @return the phase
src/main/java/org/spongepowered/asm/mixin/extensibility/IMixinInfo.java:107
↓ 5 callers
Method
getProcessingEnvironment
Get the underlying processing environment
src/ap/java/org/spongepowered/tools/obfuscation/interfaces/IMixinAnnotationProcessor.java:159
↓ 5 callers
Method
getResourceAsStream
Get a resource as a stream from the appropriate classloader, this is delegated via the service so that the service can choose the correct classloader
src/main/java/org/spongepowered/asm/service/IMixinService.java:159
↓ 5 callers
Method
getServiceAgents
()
src/main/java/org/spongepowered/asm/service/MixinServiceAbstract.java:224
↓ 5 callers
Method
getSignature
Return the class signature @return signature as a {@link ClassSignature} instance
src/main/java/org/spongepowered/asm/mixin/transformer/ClassInfo.java:1138
↓ 5 callers
Method
getSimpleName
Returns the simple name of a type representing a class @param type type @return annotation's simple name
src/main/java/org/spongepowered/asm/util/Bytecode.java:908
← previous
next →
201–300 of 3,632, ranked by callers