private void methodCreator(String methodName) {
   	
   		methodHandler = -1;
      
   		currentMethod= new Floor(methodName);
        lineInMethod = true;
        currentMethod.setAccessType(3);
           
        PersonIdent ownership = parsedClass.getAuthor(currentLineNum);
        if (ownership == null) {
     	   int a = 0;
        }
        Author author = getUniqueAuthor(ownership);
        
        currentMethod.adjustOwnership(author, 1);
          
        // adding the feature for each method: public/private/protected
        if(currentLine.contains("protected")) {
        	currentMethod.setAccessType(2);       
        }else if(currentLine.contains("private")) {
        	currentMethod.setAccessType(1);
        }else {
        	 // method type in this case is public
            currentMethod.setAccessType(0);        
        }
           
        if(isConstructor) {
        	createdClassObjects.get(classHandler).addFloor(currentMethod);
            isConstructor = false;
            lineInMethod = false;
            methodHandler = -1;
            return;
        }
           
        if(currentLine.contains("{")) {
        	methodHandler++;        
        }else if (currentLine.contains(";")) {
        	
        	// method is ended
           	lineInMethod = false;
           	createdClassObjects.get(classHandler).addFloor(currentMethod);
        }  
   }