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
↓ 4 callers
Method
prepare
Called at subsystem boot
src/main/java/org/spongepowered/asm/service/IMixinService.java:59
↓ 4 callers
Method
prepareMixins
(String collectionName, List<String> mixinClasses, boolean ignorePlugin, Extensions extensions)
src/main/java/org/spongepowered/asm/mixin/transformer/MixinConfig.java:909
↓ 4 callers
Method
print
Print this printer to stderr @return fluent interface
src/main/java/org/spongepowered/asm/util/PrettyPrinter.java:1069
↓ 4 callers
Method
registerShadow
(VariableElement field, AnnotationHandle shadow, boolean shouldRemap)
src/ap/java/org/spongepowered/tools/obfuscation/AnnotatedMixin.java:395
↓ 4 callers
Method
remap
Remap a reference for the specified owning class in the current context @param className Owner class @param reference Reference to remap @return rema
src/main/java/org/spongepowered/asm/mixin/refmap/IReferenceMapper.java:77
↓ 4 callers
Method
renameTo
(String name)
src/main/java/org/spongepowered/asm/mixin/transformer/ClassInfo.java:554
↓ 4 callers
Method
serialise
Get a representation of this mapping for serialisation. Individual writers are free to use their own mappings, this method is for convenience only. @
src/main/java/org/spongepowered/asm/obfuscation/mapping/IMapping.java:131
↓ 4 callers
Method
setHandle
(int tag, String owner, String name, String desc, boolean isInterface)
src/main/java/org/spongepowered/asm/mixin/struct/MemberRef.java:264
↓ 4 callers
Method
setKind
Set the current kind @param kind kind to set
src/ap/java/org/spongepowered/tools/obfuscation/interfaces/IMessagerEx.java:325
↓ 4 callers
Method
setModifiers
Set modifiers on this signature using the supplied method node @param method method node to read modifiers from
src/main/java/org/spongepowered/asm/util/SignaturePrinter.java:149
↓ 4 callers
Method
setOpcode
Set the opcode of the invocation. @param opcode new opcode
src/main/java/org/spongepowered/asm/mixin/struct/MemberRef.java:289
↓ 4 callers
Method
setProperty
Set the specified value in the global property store (blackboard) @param key blackboard key @param value new value
src/main/java/org/spongepowered/asm/service/IGlobalPropertyService.java:56
↓ 4 callers
Method
size
()
src/main/java/org/spongepowered/asm/mixin/injection/code/MethodSlice.java:225
↓ 4 callers
Method
storeArgs
Store args on the stack starting at the end and working back to position specified by start, return the generated argMap @param target target method
src/main/java/org/spongepowered/asm/mixin/injection/code/Injector.java:495
↓ 4 callers
Method
stripGenerics
Strip generic arguments from the supplied type descriptor @param type type descriptor @return type descriptor with generic args removed
src/ap/java/org/spongepowered/tools/obfuscation/mirror/TypeUtils.java:205
↓ 4 callers
Method
toFile
Convert a URL to a file but handle a corner case with UNC paths which do not parse correctly. @param url URL to convert @return File @throws URISynta
src/main/java/org/spongepowered/asm/util/Files.java:49
↓ 4 callers
Method
toRawType
(ProcessingEnvironment processingEnv, DeclaredType targetType)
src/ap/java/org/spongepowered/tools/obfuscation/mirror/TypeUtils.java:580
↓ 4 callers
Method
transform
Create a clone of this mapping with a new descriptor @param newDesc new descriptor @return cloned mapping
src/main/java/org/spongepowered/asm/obfuscation/mapping/IMapping.java:71
↓ 4 callers
Method
wire
Temp wiring @param phase Initial phase @param phaseConsumer Phase setter callback @deprecated temporary
src/main/java/org/spongepowered/asm/launch/platform/IMixinPlatformServiceAgent.java:66
↓ 3 callers
Method
add
(Column column)
src/main/java/org/spongepowered/asm/util/PrettyPrinter.java:179
↓ 3 callers
Method
addCallbackInvocation
Notify method, called by injector when adding a callback into a target @param handler callback handler being invoked
src/main/java/org/spongepowered/asm/mixin/injection/struct/InjectionInfo.java:620
↓ 3 callers
Method
addClassMapping
Adds a class mapping to the internal refmap @param className Mixin class name which owns the refmap entry @param reference Original reference, as it
src/ap/java/org/spongepowered/tools/obfuscation/interfaces/IReferenceManager.java:109
↓ 3 callers
Method
addColumn
(String title)
src/main/java/org/spongepowered/asm/util/PrettyPrinter.java:189
↓ 3 callers
Method
addContainer
Add a new container to this platform and return the new container (or an existing container if the handle was previously registered) @param handle Co
src/main/java/org/spongepowered/asm/launch/platform/MixinPlatformManager.java:129
↓ 3 callers
Method
addInterface
(String iface)
src/main/java/org/spongepowered/asm/mixin/transformer/ClassInfo.java:903
↓ 3 callers
Method
addInterface
Add an interface to this signature @param iface interface to add
src/main/java/org/spongepowered/asm/util/ClassSignature.java:1089
↓ 3 callers
Method
addSuppressed
(InvalidMixinException ex)
src/main/java/org/spongepowered/asm/mixin/transformer/TargetClassContext.java:462
↓ 3 callers
Method
addTargetNode
(InjectorTarget injectorTarget, List<InjectionNode> myNodes, AbstractInsnNode node, Set<InjectionPoint> nomina
src/main/java/org/spongepowered/asm/mixin/injection/code/Injector.java:254
↓ 3 callers
Method
addWrapped
Adds a formatted line to the output, and attempts to wrap the line content to the current wrap width @param format format string @param args argument
src/main/java/org/spongepowered/asm/util/PrettyPrinter.java:768
↓ 3 callers
Method
appendArgs
(StringBuilder sb, boolean typesOnly, boolean pretty)
src/main/java/org/spongepowered/asm/util/SignaturePrinter.java:213
↓ 3 callers
Method
asMethodMapping
Returns this selector as a mapping method
src/main/java/org/spongepowered/asm/mixin/injection/selectors/ITargetSelectorRemappable.java:83
↓ 3 callers
Method
asType
()
src/main/java/org/spongepowered/asm/util/ClassSignature.java:475
↓ 3 callers
Method
beginPhase
Called whenever a new phase is started
src/main/java/org/spongepowered/asm/service/IMixinService.java:83
↓ 3 callers
Method
check
(InjectionInfo info, Target target, Collection<AbstractInsnNode> nodes, AbstractInsnNode insn)
src/main/java/org/spongepowered/asm/mixin/injection/modify/BeforeLoadLocal.java:134
↓ 3 callers
Method
checkArgs
(String... args)
src/main/java/org/spongepowered/asm/mixin/injection/selectors/ITargetSelector.java:157
↓ 3 callers
Method
computeFrameSize
Compute the size required to accomodate the entries described by the supplied frame node @param frameNode frame node with locals to compute @param in
src/main/java/org/spongepowered/asm/util/Locals.java:894
↓ 3 callers
Method
contains
(AbstractInsnNode insn)
src/main/java/org/spongepowered/asm/mixin/injection/code/InsnListReadOnly.java:219
↓ 3 callers
Method
copy
Create a clone of this mapping @return cloned mapping
src/main/java/org/spongepowered/asm/obfuscation/mapping/IMapping.java:78
↓ 3 callers
Method
createPreProcessor
(MixinClassNode classNode)
src/main/java/org/spongepowered/asm/mixin/transformer/MixinInfo.java:559
↓ 3 callers
Method
decompile
Decompile a class file @param file .class file to decompile
src/main/java/org/spongepowered/asm/mixin/transformer/ext/IDecompiler.java:39
↓ 3 callers
Method
doInit
(List<String> args)
src/main/java/org/spongepowered/asm/launch/MixinBootstrap.java:171
↓ 3 callers
Method
equals
(Object obj)
src/main/java/org/spongepowered/asm/util/ClassSignature.java:118
↓ 3 callers
Method
find
Find injection points in the supplied insn list @param desc Method descriptor, supplied to allow return types and arguments etc. to be determine
src/main/java/org/spongepowered/asm/mixin/injection/InjectionPoint.java:416
↓ 3 callers
Method
findArrayNode
Searches for an array access instruction in the supplied instruction list which is within <tt>searchRange</tt> instructions of the supplied field inst
src/main/java/org/spongepowered/asm/mixin/injection/points/BeforeFieldAccess.java:204
↓ 3 callers
Method
findDelegateInitNode
Find the call to <tt>super()</tt> or <tt>this()</tt> in a constructor. This attempts to locate the first call to <tt><init></tt> which isn't an
src/main/java/org/spongepowered/asm/mixin/injection/struct/Constructor.java:83
↓ 3 callers
Method
findField
Finds the specified field in this class @param field Field to search for @return the field object or null if the field could not be resolved
src/main/java/org/spongepowered/asm/mixin/transformer/ClassInfo.java:1898
↓ 3 callers
Method
findField
Find a member field in this type which matches the name and declared type of the supplied element @param element Element to match @return handle to t
src/ap/java/org/spongepowered/tools/obfuscation/mirror/TypeHandle.java:364
↓ 3 callers
Method
findSuperClass
Search for the specified superclass in this class's hierarchy. If found returns the ClassInfo, otherwise returns null @param superClass Superclass na
src/main/java/org/spongepowered/asm/mixin/transformer/ClassInfo.java:1384
↓ 3 callers
Method
findTargetMethod
Finds a method in the target class @param searchFor @return Target method matching searchFor, or null if not found
src/main/java/org/spongepowered/asm/mixin/transformer/MixinApplicatorStandard.java:832
↓ 3 callers
Method
forName
Get a phase by name, returns <tt>null</tt> if no phases exist with the specified name @param name phase name to lookup @return phase object or <tt>nu
src/main/java/org/spongepowered/asm/mixin/MixinEnvironment.java:138
↓ 3 callers
Method
generate
Generate (if possible) the specified class name. The generator should return <tt>null</tt> if it cannot generate the specified class, in order that th
src/main/java/org/spongepowered/asm/mixin/transformer/ext/IClassGenerator.java:49
↓ 3 callers
Method
generateArgMap
Generate an array containing local indexes for the specified args, returns an array of identical size to the supplied array with an allocated local in
src/main/java/org/spongepowered/asm/mixin/injection/struct/Target.java:442
↓ 3 callers
Method
get
Convenience function which returns a Feature constant based on the feature id, but returns null instead of throwing an exception. @param featureId Fe
src/main/java/org/spongepowered/asm/mixin/MixinEnvironment.java:1143
↓ 3 callers
Method
getAtErrorElement
(CompilerEnvironment compilerEnvironment)
src/ap/java/org/spongepowered/tools/obfuscation/AnnotatedMixinElementHandlerInjector.java:128
↓ 3 callers
Method
getBoolean
Get the primitive boolean value with the specified key or return null if not present or not set @param key key to fetch @param defaultValue default v
src/main/java/org/spongepowered/asm/util/asm/IAnnotationHandle.java:131
↓ 3 callers
Method
getBytecodeProvider
Return the class bytecode 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:110
↓ 3 callers
Method
getCallbackDescriptor
Get the callback descriptor @param locals Local variable types @param argumentTypes Argument types @return generated descriptor
src/main/java/org/spongepowered/asm/mixin/injection/struct/Target.java:564
↓ 3 callers
Method
getCallbackInfoClass
Get the CallbackInfo class used for this target, based on the target return type @return CallbackInfo class name
src/main/java/org/spongepowered/asm/mixin/injection/struct/Target.java:541
↓ 3 callers
Method
getClassBytes
Retrieve class bytes using available classloaders, does not transform the class @param name class name @param transformedName transformed class name
src/launchwrapper/java/org/spongepowered/asm/service/mojang/MixinServiceLaunchWrapper.java:466
↓ 3 callers
Method
getClassMajorVersion
Get the major class version expected at this compatibility level
src/main/java/org/spongepowered/asm/mixin/MixinEnvironment.java:921
↓ 3 callers
Method
getClassTracker
Return the class tracker for this service. <b>This component is optional and is allowed to be <tt>null</tt> for services which do not support this fun
src/main/java/org/spongepowered/asm/service/IMixinService.java:124
↓ 3 callers
Method
getClassVersion
Class version expected at this compatibility level
src/main/java/org/spongepowered/asm/mixin/MixinEnvironment.java:914
↓ 3 callers
Method
getCommonSuperClassOrInterface
ASM logic applied via ClassInfo, returns first common superclass of classes specified by <tt>type1</tt> and <tt>type2</tt>. @param type1 First type @
src/main/java/org/spongepowered/asm/mixin/transformer/ClassInfo.java:2158
↓ 3 callers
Method
getConfigs
Get current pending configs set, only configs which have yet to be consumed are present in this set
src/main/java/org/spongepowered/asm/mixin/Mixins.java:176
↓ 3 callers
Method
getConstructor
Finds a suitable ctor for reading the instance initialiser bytecode @return appropriate ctor or null if none found
src/main/java/org/spongepowered/asm/mixin/transformer/MixinTargetContext.java:1052
↓ 3 callers
Method
getCurrentPhase
Get the current phase, triggers initialisation if necessary
src/main/java/org/spongepowered/asm/mixin/MixinEnvironment.java:1696
↓ 3 callers
Method
getDelegate
Get the delegate (root section) for this section
src/main/java/org/spongepowered/asm/util/perf/Profiler.java:109
↓ 3 callers
Method
getDesc
Descriptor of this member. @return Descriptor of this member
src/main/java/org/spongepowered/asm/mixin/struct/MemberRef.java:324
↓ 3 callers
Method
getDesc
Get the target method descriptor
src/main/java/org/spongepowered/asm/mixin/injection/struct/Target.java:285
↓ 3 callers
Method
getDesc
Get the element descriptor. For INVOKEDYNAMIC this is the full descriptor of the lambda (including prepended captures).
src/main/java/org/spongepowered/asm/mixin/injection/selectors/ElementNode.java:573
↓ 3 callers
Method
getDescriptor
Get a bytecode-style descriptor for the specified element @param element element to generate descriptor for @return descriptor
src/ap/java/org/spongepowered/tools/obfuscation/mirror/TypeUtils.java:331
↓ 3 callers
Method
getDescriptorWithAllLocals
()
src/main/java/org/spongepowered/asm/mixin/injection/callback/CallbackInjector.java:230
↓ 3 callers
Method
getEnvironment
Get the environment of the owning mixin config @return mixin parent environment
src/main/java/org/spongepowered/asm/mixin/transformer/MixinTargetContext.java:274
↓ 3 callers
Method
getGenerator
@param generatorClass generator class or interface to look up @param <T> genenerator class for duck typing @return generator
src/main/java/org/spongepowered/asm/mixin/transformer/ext/Extensions.java:208
↓ 3 callers
Method
getIndex
Get the local variable absolute index
src/main/java/org/spongepowered/asm/mixin/injection/modify/LocalVariableDiscriminator.java:282
↓ 3 callers
Method
getInjectorAnnotation
Returns any injector annotation found on the specified method. If multiple matching annotations are found then an exception is thrown. If no annotatio
src/main/java/org/spongepowered/asm/mixin/injection/struct/InjectionInfo.java:680
↓ 3 callers
Method
getInstance
Singleton pattern, get or create the instance
src/main/java/org/spongepowered/asm/service/MixinService.java:167
↓ 3 callers
Method
getInterfaceMethods
If this is an interface, returns a set containing all methods in this interface and all super interfaces. If this is a class, returns a set containing
src/main/java/org/spongepowered/asm/mixin/transformer/ClassInfo.java:1204
↓ 3 callers
Method
getMaxLocals
Get the original max locals of the method @return the original max locals value
src/main/java/org/spongepowered/asm/mixin/injection/struct/Target.java:301
↓ 3 callers
Method
getMaxSupportedClassVersionMajor
Get the maximum supported major class versior
src/main/java/org/spongepowered/asm/util/asm/ASM.java:140
↓ 3 callers
Method
getMethods
Get class/interface methods @return read-only view of class methods
src/main/java/org/spongepowered/asm/mixin/transformer/ClassInfo.java:1190
↓ 3 callers
Method
getMixinSourceId
Get clean sourceId from mixin @param mixin mixin info @return clean source id with dollar suffix or empty string
src/main/java/org/spongepowered/asm/mixin/transformer/MethodMapper.java:148
↓ 3 callers
Method
getName
Name of this member. @return Name of this member.
src/main/java/org/spongepowered/asm/mixin/struct/MemberRef.java:310
↓ 3 callers
Method
getObfClass
Get an obfuscation mapping for a class
src/ap/java/org/spongepowered/tools/obfuscation/ObfuscationEnvironment.java:338
↓ 3 callers
Method
getObfClass
Get an obfuscation mapping for a class, returns null if no mapping exists for the specified class in this environment. @param className Name of the c
src/ap/java/org/spongepowered/tools/obfuscation/interfaces/IObfuscationEnvironment.java:114
↓ 3 callers
Method
getObfEntry
(ITargetSelectorRemappable targetMember)
src/ap/java/org/spongepowered/tools/obfuscation/ObfuscationDataProvider.java:154
↓ 3 callers
Method
getOptions
Fetch the values of the specified comma-separated option, if available @param option Name of the option to fetch @return Option value or null if abse
src/ap/java/org/spongepowered/tools/obfuscation/interfaces/IOptionProvider.java:68
↓ 3 callers
Method
getOriginalName
()
src/main/java/org/spongepowered/asm/mixin/transformer/ClassInfo.java:349
↓ 3 callers
Method
getOwner
The internal name for the owner of this member. @return The owners name
src/main/java/org/spongepowered/asm/mixin/struct/MemberRef.java:296
↓ 3 callers
Method
getReference
Get the TypeReference for this type, used for serialisation
src/ap/java/org/spongepowered/tools/obfuscation/mirror/TypeHandle.java:318
↓ 3 callers
Method
getRemappers
Get the remapper chain for this environment
src/main/java/org/spongepowered/asm/mixin/MixinEnvironment.java:1642
↓ 3 callers
Method
getSide
Get (and detect if necessary) the current side @return current side (or UNKNOWN if could not be determined)
src/main/java/org/spongepowered/asm/mixin/MixinEnvironment.java:1548
↓ 3 callers
Method
getSideName
Get the detected side name for this environment
src/main/java/org/spongepowered/asm/service/IMixinService.java:164
↓ 3 callers
Method
getStartIndex
Compute the argument index for the start of the window (offet 0) @return the offset index for the start of the window (inclusive)
src/main/java/org/spongepowered/asm/mixin/injection/struct/ArgOffsets.java:139
↓ 3 callers
Method
getStringValue
()
src/main/java/org/spongepowered/asm/mixin/MixinEnvironment.java:623
↓ 3 callers
Method
getSuper
Get the next most immediate super-implementation of this mapping. For example if the mapping is a method and the method overrides a method in the imme
src/main/java/org/spongepowered/asm/obfuscation/mapping/IMapping.java:122
↓ 3 callers
Method
getSuperName
Get the superclass name (binary name)
src/main/java/org/spongepowered/asm/mixin/transformer/ClassInfo.java:1098
↓ 3 callers
Method
getSupportedOptions
Get all options supported by this service @return supported options as a Set
src/ap/java/org/spongepowered/tools/obfuscation/service/IObfuscationService.java:42
↓ 3 callers
Method
getTargetClasses
Get the target class names for this mixin
src/main/java/org/spongepowered/asm/mixin/transformer/MixinInfo.java:1230
↓ 3 callers
Method
getTargetRestriction
Returns the target restriction level for this injection point. This level defines whether an injection point is valid in its current state when being
src/main/java/org/spongepowered/asm/mixin/injection/InjectionPoint.java:400
← previous
next →
401–500 of 3,632, ranked by callers