Advertisement
Guest User

Untitled

a guest
Feb 15th, 2019
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 1.50 KB | None | 0 0
  1. /******************************************************
  2.  * Created by Marneus901                                *
  3.  * � 2012-2014                                          *
  4.  * **************************************************** *
  5.  * Access to this source is unauthorized without prior  *
  6.  * authorization from its appropriate author(s).        *
  7.  * You are not permitted to release, nor distribute this*
  8.  * work without appropriate author(s) authorization.    *
  9.  ********************************************************/
  10. package com.marneusscripts.updater;
  11.  
  12. import com.marneusscripts.asm.assembly.Mask;
  13.  
  14. public class FieldSigniture {
  15.     public String[] args;
  16.     public String retType;
  17.     public String bytecodePattern;
  18.     public Mask[] mask;
  19.     public boolean regex = false;
  20.  
  21.     public FieldSigniture(String returnType, String[] arguments, String pattern) {
  22.         retType = returnType;
  23.         args = arguments;
  24.         bytecodePattern = pattern;
  25.     }
  26.  
  27.     public FieldSigniture(String returnType, String[] arguments) {
  28.         retType = returnType;
  29.         args = arguments;
  30.     }
  31.  
  32.     public FieldSigniture(String returnType, String[] arguments, Mask... masks) {
  33.         retType = returnType;
  34.         args = arguments;
  35.         mask = masks;
  36.     }
  37.  
  38.     public FieldSigniture(String returnType, String[] arguments, String pattern, boolean regex) {
  39.         retType = returnType;
  40.         args = arguments;
  41.         bytecodePattern = pattern;
  42.         this.regex = true;
  43.  
  44.     }
  45. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement